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
|
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "Eo.h"
#include "simple_interface.h"
#define MY_CLASS INTERFACE_CLASS
EAPI EO_FUNC_BODY(interface_a_power_3_get, int, 0);
static Eo_Op_Description op_desc[] = {
EO_OP_FUNC(interface_a_power_3_get, NULL),
};
static const Eo_Class_Description class_desc = {
EO_VERSION,
"Interface",
EO_CLASS_TYPE_INTERFACE,
EO_CLASS_DESCRIPTION_OPS(op_desc),
NULL,
0,
NULL,
NULL
};
EO_DEFINE_CLASS(interface_class_get, &class_desc, NULL, NULL)
|