From 5fff359e2f2dd9c192c8d71b274ddb87f2accce7 Mon Sep 17 00:00:00 2001 From: caro Date: Sat, 11 Dec 2010 00:39:28 +0000 Subject: [PATCH] put EINA_MAGIC at the end of the structure git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@55474 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eina_quadtree.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/lib/eina_quadtree.c b/src/lib/eina_quadtree.c index d6ff14e..35a1988 100644 --- a/src/lib/eina_quadtree.c +++ b/src/lib/eina_quadtree.c @@ -76,8 +76,6 @@ static const char EINA_MAGIC_QUADTREE_ITEM_STR[] = "Eina QuadTree Item"; struct _Eina_QuadTree { - EINA_MAGIC; - Eina_QuadTree_Root *root; Eina_List *hidden; @@ -108,12 +106,12 @@ struct _Eina_QuadTree Eina_Bool resize : 1; Eina_Bool lost : 1; + + EINA_MAGIC }; struct _Eina_QuadTree_Root { - EINA_MAGIC; - Eina_QuadTree_Root *parent; Eina_QuadTree_Root *left; Eina_QuadTree_Root *right; @@ -121,11 +119,12 @@ struct _Eina_QuadTree_Root Eina_List *both; Eina_Bool sorted : 1; + + EINA_MAGIC }; struct _Eina_QuadTree_Item { - EINA_MAGIC; EINA_INLIST; Eina_QuadTree *quad; @@ -139,6 +138,8 @@ struct _Eina_QuadTree_Item Eina_Bool delete_me : 1; Eina_Bool visible : 1; Eina_Bool hidden : 1; + + EINA_MAGIC }; static int _eina_log_qd_dom = -1; -- 2.7.4