summaryrefslogtreecommitdiff
path: root/src/examples/eolian_cxx/colourablesquare_stub.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/colourablesquare_stub.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/colourablesquare_stub.c')
-rw-r--r--src/examples/eolian_cxx/colourablesquare_stub.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/examples/eolian_cxx/colourablesquare_stub.c b/src/examples/eolian_cxx/colourablesquare_stub.c
new file mode 100644
index 0000000000..276130c762
--- /dev/null
+++ b/src/examples/eolian_cxx/colourablesquare_stub.c
@@ -0,0 +1,12 @@
1#include <stdio.h>
2
3#ifdef HAVE_CONFIG_H
4# include <config.h>
5#endif
6
7#include "Eo.h"
8
9#include "colourablesquare_stub.h"
10#include "colourable.eo.h"
11#include "colourablesquare.eo.h"
12#include "colourablesquare.eo.c"