Changeset View
Changeset View
Standalone View
Standalone View
src/tests/eo/constructors/constructors_mixin.c
Show All 40 Lines | |||||
41 | _class_initializer(Efl_Class *klass) | 41 | _class_initializer(Efl_Class *klass) | ||
42 | { | 42 | { | ||
43 | EFL_OPS_DEFINE(ops, | 43 | EFL_OPS_DEFINE(ops, | ||
44 | EFL_OBJECT_OP_FUNC(mixin_add_and_print, _add_and_print_set), | 44 | EFL_OBJECT_OP_FUNC(mixin_add_and_print, _add_and_print_set), | ||
45 | EFL_OBJECT_OP_FUNC(efl_constructor, _constructor), | 45 | EFL_OBJECT_OP_FUNC(efl_constructor, _constructor), | ||
46 | EFL_OBJECT_OP_FUNC(efl_destructor, _destructor), | 46 | EFL_OBJECT_OP_FUNC(efl_destructor, _destructor), | ||
47 | ); | 47 | ); | ||
48 | 48 | | |||
49 | return efl_class_functions_set(klass, &ops, NULL, NULL); | 49 | return efl_class_functions_set(klass, &ops, NULL); | ||
50 | } | 50 | } | ||
51 | 51 | | |||
52 | static const Efl_Class_Description class_desc = { | 52 | static const Efl_Class_Description class_desc = { | ||
53 | EO_VERSION, | 53 | EO_VERSION, | ||
54 | "Mixin", | 54 | "Mixin", | ||
55 | EFL_CLASS_TYPE_MIXIN, | 55 | EFL_CLASS_TYPE_MIXIN, | ||
56 | 0, | 56 | 0, | ||
57 | _class_initializer, | 57 | _class_initializer, | ||
58 | NULL, | 58 | NULL, | ||
59 | NULL | 59 | NULL | ||
60 | }; | 60 | }; | ||
61 | 61 | | |||
62 | EFL_DEFINE_CLASS(mixin_class_get, &class_desc, NULL, EO_CLASS, NULL); | 62 | EFL_DEFINE_CLASS(mixin_class_get, &class_desc, NULL, EO_CLASS, NULL); | ||
63 | 63 | |