tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=76bc86716e3acdbcd604b31126ab3b9649cdf543

commit 76bc86716e3acdbcd604b31126ab3b9649cdf543
Author: Daniel Kolesa <d.kol...@osg.samsung.com>
Date:   Mon Sep 28 15:59:16 2015 +0100

    Eolian generator: remove sentinel generation
---
 src/bin/eolian/eo_generator.c            | 4 +---
 src/tests/eolian/data/class_simple_ref.c | 1 -
 src/tests/eolian/data/override_ref.c     | 2 +-
 3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/bin/eolian/eo_generator.c b/src/bin/eolian/eo_generator.c
index 5ade88d..85d3cb7 100644
--- a/src/bin/eolian/eo_generator.c
+++ b/src/bin/eolian/eo_generator.c
@@ -19,9 +19,7 @@ static Eina_Hash *_funcs_params_init = NULL;
 
 static const char
 tmpl_eo_ops_desc[] = "\
-static Eo_Op_Description _@#class_op_desc[] = {@#list_op\n\
-     EO_OP_SENTINEL\n\
-};\n\n";
+static Eo_Op_Description _@#class_op_desc[] = {@#list_op\n};\n\n";
 
 static const char
 tmpl_events_desc[] = "\
diff --git a/src/tests/eolian/data/class_simple_ref.c 
b/src/tests/eolian/data/class_simple_ref.c
index 12eda02..cd1b28a 100644
--- a/src/tests/eolian/data/class_simple_ref.c
+++ b/src/tests/eolian/data/class_simple_ref.c
@@ -29,7 +29,6 @@ static Eo_Op_Description _class_simple_op_desc[] = {
      EO_OP_FUNC(evas_obj_simple_a_set, _class_simple_a_set),
      EO_OP_FUNC(evas_obj_simple_a_get, _class_simple_a_get),
      EO_OP_FUNC(evas_obj_simple_foo, __eolian_class_simple_foo),
-     EO_OP_SENTINEL
 };
 
 static const Eo_Class_Description _class_simple_class_desc = {
diff --git a/src/tests/eolian/data/override_ref.c 
b/src/tests/eolian/data/override_ref.c
index 5817915..2998aff 100644
--- a/src/tests/eolian/data/override_ref.c
+++ b/src/tests/eolian/data/override_ref.c
@@ -78,4 +78,4 @@ static const Eo_Class_Description _override_class_desc = {
      NULL
 };
 
-EO_DEFINE_CLASS(override_class_get, &_override_class_desc, BASE_CLASS, NULL);
+EO_DEFINE_CLASS(override_class_get, &_override_class_desc, BASE_CLASS, NULL);
\ No newline at end of file

-- 


Reply via email to