From 36c5127822ed125e840192a3908b19f97a7fd866 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 8 Nov 2013 00:49:05 +0100 Subject: [PATCH] eo2: add EO2_CLASS_DESCRIPTION_NOOPS() macros --- src/lib/eo/Eo.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h index 726078a..b27d88a 100644 --- a/src/lib/eo/Eo.h +++ b/src/lib/eo/Eo.h @@ -609,7 +609,8 @@ EAPI Eina_Bool eo_shutdown(void); // computes size of Eo2_Op_Description[] #define EO2_OP_DESC_SIZE(desc) (sizeof(desc)/sizeof(*desc) - 1) -// An helper macro to help populating #Eo_Class_Description. +// Helpers macro to help populating #Eo_Class_Description. +#define EO2_CLASS_DESCRIPTION_NOOPS() { NULL, NULL, NULL, 0} #define EO2_CLASS_DESCRIPTION_OPS(op_descs) { NULL, NULL, op_descs, EO2_OP_DESC_SIZE(op_descs) } // to fetch internal function and object data at once -- 2.7.4