efl/src/tests/eo/interface/interface_interface.c

31 lines
613 B
C
Raw Normal View History

#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "Eo.h"
2012-09-25 23:56:52 -07:00
#include "interface_interface.h"
#include "interface_simple.h"
#define MY_CLASS INTERFACE_CLASS
2013-11-07 09:20:11 -08:00
EO2_FUNC_BODY(interface_ab_sum_get, int, 0);
static Eo2_Op_Description op_descs[] = {
EO2_OP_FUNC(interface_ab_sum_get, NULL, "Get the sum of a and b."),
2013-11-07 09:20:11 -08:00
EO2_OP_SENTINEL
};
static const Eo_Class_Description class_desc = {
2013-11-07 09:20:11 -08:00
EO2_VERSION,
"Interface",
EO_CLASS_TYPE_INTERFACE,
2013-11-07 09:20:11 -08:00
EO2_CLASS_DESCRIPTION_OPS(op_descs),
NULL,
0,
NULL,
NULL
};
EO_DEFINE_CLASS(interface_class_get, &class_desc, NULL, NULL)