Eobj: Rename to Eo.
[profile/ivi/eobj.git] / examples / constructors / simple6.c
1 #include "Eo.h"
2 #include "mixin.h"
3 #include "simple6.h"
4
5 #include "config.h"
6
7 #define MY_CLASS SIMPLE6_CLASS
8
9 static void
10 _destructor(Eo *obj, void *class_data EINA_UNUSED)
11 {
12    eo_constructor_super(obj);
13
14    eo_constructor_error_set(obj);
15 }
16
17 static const Eo_Class_Description class_desc = {
18      "Simple6",
19      EO_CLASS_TYPE_REGULAR,
20      EO_CLASS_DESCRIPTION_OPS(NULL, NULL, 0),
21      NULL,
22      0,
23      NULL,
24      _destructor,
25      NULL,
26      NULL
27 };
28
29 EO_DEFINE_CLASS(simple6_class_get, &class_desc, EO_BASE_CLASS, NULL);
30