summaryrefslogtreecommitdiff
path: root/src/tests/eo/constructors/constructors_simple6.c
blob: f3e12b8df72ffa3cc3e796f79794a29923062808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif

#include "Eo.h"
#include "constructors_mixin.h"
#include "constructors_simple6.h"

#define MY_CLASS SIMPLE6_CLASS

static void
_destructor(Eo *obj, void *class_data EINA_UNUSED)
{
   eo_destructor(eo_super(obj, MY_CLASS));
}

static Eo_Op_Description op_descs [] = {
     EO_OP_FUNC_OVERRIDE(eo_destructor, _destructor),
};

static const Eo_Class_Description class_desc = {
     EO_VERSION,
     "Simple6",
     EO_CLASS_TYPE_REGULAR,
     EO_CLASS_DESCRIPTION_OPS(op_descs),
     NULL,
     0,
     NULL,
     NULL
};

EO_DEFINE_CLASS(simple6_class_get, &class_desc, EO_CLASS, NULL);