From: havoc Date: Sat, 11 Mar 2006 16:58:28 +0000 (+0000) Subject: moved name in memory pools to a different part of the structure, to make ddd displays... X-Git-Tag: xonotic-v0.1.0preview~4221 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d00d8873466ab9946c0b8a473cf3d0c914bdd871;p=xonotic%2Fdarkplaces.git moved name in memory pools to a different part of the structure, to make ddd displays read better git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6097 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/zone.h b/zone.h index 12809647..285facca 100644 --- a/zone.h +++ b/zone.h @@ -103,8 +103,6 @@ typedef struct mempool_s size_t realsize; // updated each time the pool is displayed by memlist, shows change from previous time (unless pool was freed) size_t lastchecksize; - // name of the pool - char name[POOLNAMESIZE]; // linked into global mempool list struct mempool_s *next; // parent object (used for nested memory pools) @@ -112,6 +110,8 @@ typedef struct mempool_s // file name and line where Mem_AllocPool was called const char *filename; int fileline; + // name of the pool + char name[POOLNAMESIZE]; // should always be MEMHEADER_SENTINEL1 unsigned int sentinel2; }