summaryrefslogtreecommitdiff
path: root/src/examples/eo/simple/simple_mixin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/eo/simple/simple_mixin.c')
-rw-r--r--src/examples/eo/simple/simple_mixin.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/examples/eo/simple/simple_mixin.c b/src/examples/eo/simple/simple_mixin.c
deleted file mode 100644
index db5b90e802..0000000000
--- a/src/examples/eo/simple/simple_mixin.c
+++ /dev/null
@@ -1,39 +0,0 @@
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#include "Eo.h"
-#include "simple_mixin.h"
-#include "simple_simple.h"
-
-#define MY_CLASS MIXIN_CLASS
-
-static int
-_a_square_get(Eo *obj, void *class_data EINA_UNUSED)
-{
- int a;
-
- a = simple_a_get(obj);
- printf("%s %s\n", eo_class_name_get(MY_CLASS), __func__);
- return a * a;
-}
-
-EAPI EO_FUNC_BODY(mixin_a_square_get, int, 0);
-
-static Eo_Op_Description op_desc[] = {
- EO_OP_FUNC(mixin_a_square_get, _a_square_get),
-};
-
-static const Eo_Class_Description class_desc = {
- EO_VERSION,
- "Mixin",
- EO_CLASS_TYPE_MIXIN,
- EO_CLASS_DESCRIPTION_OPS(op_desc),
- NULL,
- 0,
- NULL,
- NULL
-};
-
-EO_DEFINE_CLASS(mixin_class_get, &class_desc, NULL, NULL)
-