Eo: change refcount to short from int.
authorTom Hacohen <tom@stosb.com>
Tue, 17 May 2016 08:39:12 +0000 (09:39 +0100)
committerTom Hacohen <tom@stosb.com>
Tue, 17 May 2016 09:26:54 +0000 (10:26 +0100)
A short is more than enough for reference counting.

src/lib/eo/eo_private.h

index 4f60740..10606f8 100644 (file)
@@ -97,8 +97,8 @@ struct _Eo_Object
      Eina_List *composite_objects;
      Eo_Del_Intercept del_intercept;
 
-     int refcount;
-     int datarefcount;
+     short refcount;
+     short datarefcount;
 
      Eina_Bool condtor_done:1;
      Eina_Bool finalized:1;