summaryrefslogtreecommitdiff
path: root/src/examples/eolian_cxx/colourable.c
diff options
context:
space:
mode:
authorSavio Sena <savio@expertisesolutions.com.br>2014-07-24 16:47:35 -0300
committerSavio Sena <savio@expertisesolutions.com.br>2014-07-24 19:52:23 -0300
commit3e43bb57d85ab172f0d68e42f4c94f616ebf1d3f (patch)
treeefd31e885ac5c71d1cd6015ae2ccaadbcc343411 /src/examples/eolian_cxx/colourable.c
parentfb82d67ab13b12534468a39ac29eb31d0d04cee5 (diff)
eolian-cxx: Added example of Eo implementation in C++.
Instead of implementing Eo functions in C we do it in C++ simply.
Diffstat (limited to 'src/examples/eolian_cxx/colourable.c')
-rw-r--r--src/examples/eolian_cxx/colourable.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/examples/eolian_cxx/colourable.c b/src/examples/eolian_cxx/colourable.c
index 9bbcce24c8..5b33566e84 100644
--- a/src/examples/eolian_cxx/colourable.c
+++ b/src/examples/eolian_cxx/colourable.c
@@ -17,16 +17,6 @@ static int _colourable_impl_logdomain;
17#endif 17#endif
18#define DBG(...) EINA_LOG_DOM_DBG(_colourable_impl_logdomain, __VA_ARGS__) 18#define DBG(...) EINA_LOG_DOM_DBG(_colourable_impl_logdomain, __VA_ARGS__)
19 19
20#ifdef INFO
21#undef INFO
22#endif
23#define INFO(...) EINA_LOG_DOM_INFO(_colourable_impl_logdomain, __VA_ARGS__)
24
25#ifdef ERR
26#undef ERR
27#endif
28#define ERR(...) EINA_LOG_DOM_ERR(_colourable_impl_logdomain, __VA_ARGS__)
29
30struct _Colourable_Data 20struct _Colourable_Data
31{ 21{
32 int r; 22 int r;
@@ -36,9 +26,6 @@ struct _Colourable_Data
36 26
37typedef struct _Colourable_Data Colourable_Data; 27typedef struct _Colourable_Data Colourable_Data;
38 28
39#define COLOURABLE_DATA_GET(o, wd) \
40 Colourable_Data *wd = eo_data_scope_get(o, MY_CLASS)
41
42void 29void
43_colourable_constructor(Eo *obj, Colourable_Data *self EINA_UNUSED) 30_colourable_constructor(Eo *obj, Colourable_Data *self EINA_UNUSED)
44{ 31{