eo2: fix some op descriptions in constructors tests
authorJérémy Zurcher <jeremy@asynk.ch>
Thu, 7 Nov 2013 23:50:05 +0000 (00:50 +0100)
committerTom Hacohen <tom@stosb.com>
Thu, 10 Apr 2014 03:20:18 +0000 (04:20 +0100)
src/tests/eo/constructors/constructors_simple2.c
src/tests/eo/constructors/constructors_simple4.c

index 3caabd0cad8ced26c6381be0299847dad2317a97..3f6d6bddedc790c82f52e13744fb9bcf5393d043 100644 (file)
@@ -18,6 +18,7 @@ _constructor(Eo *obj, void *class_data EINA_UNUSED)
 
 static Eo2_Op_Description op_descs[] = {
      EO2_OP_FUNC_OVERRIDE(_constructor, eo2_constructor),
+     EO2_OP_SENTINEL
 };
 
 static const Eo_Class_Description class_desc = {
index 52f17fb488cc7f9a1f0dbb3630490539267478c8..71fca13476cb0f33d73339b650a6c8150920ed2a 100644 (file)
@@ -13,7 +13,7 @@ static const Eo_Class_Description class_desc = {
      EO2_VERSION,
      "Simple4",
      EO_CLASS_TYPE_REGULAR,
-     EO_CLASS_DESCRIPTION_OPS(NULL, NULL, 0),
+     EO2_CLASS_DESCRIPTION_NOOPS(),
      NULL,
      0,
      NULL,