]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
moved name in memory pools to a different part of the structure, to make ddd displays...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 11 Mar 2006 16:58:28 +0000 (16:58 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 11 Mar 2006 16:58:28 +0000 (16:58 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6097 d7cf8633-e32d-0410-b094-e92efae38249

zone.h

diff --git a/zone.h b/zone.h
index 12809647893a9d114eed9774404b60449ab40b62..285facca38ea9a8f0920aa3b2e8e0bffb9dd3a22 100644 (file)
--- 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;
 }