summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-02-19 15:47:40 +0000
committerTom Hacohen <tom@stosb.com>2014-02-19 15:47:40 +0000
commitc3ad021aa8489c4b1c5a6a6f894292f3df7edd1e (patch)
treec1a48018c11d2b36db23f4db2c73419a55afe59a
parent263ca45501574513f8e1cad6834fa273bdcffc33 (diff)
Added a test method.
-rw-r--r--src/lib/elm_code.c6
-rw-r--r--src/lib/elm_code.eo7
2 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/elm_code.c b/src/lib/elm_code.c
index a232bbe..fd82da6 100644
--- a/src/lib/elm_code.c
+++ b/src/lib/elm_code.c
@@ -16,6 +16,12 @@ typedef struct {
16 16
17int _elm_code_lib_log_dom = -1; 17int _elm_code_lib_log_dom = -1;
18 18
19static Eina_Bool
20_elm_code_test(Eo *obj EINA_UNUSED, void *_pd)
21{
22 return !!_pd;
23}
24
19static void 25static void
20_elm_code_class_constructor(Eo_Class *cls EINA_UNUSED) 26_elm_code_class_constructor(Eo_Class *cls EINA_UNUSED)
21{ 27{
diff --git a/src/lib/elm_code.eo b/src/lib/elm_code.eo
index 523ea5d..c905583 100644
--- a/src/lib/elm_code.eo
+++ b/src/lib/elm_code.eo
@@ -2,6 +2,13 @@ class Elm_Code (Elm_Layout)
2{ 2{
3 properties { 3 properties {
4 } 4 }
5 methods {
6 test {
7 /* @ Docs. */
8 const;
9 return Eina_Bool; /*@ */
10 }
11 }
5 implements { 12 implements {
6 class::constructor; 13 class::constructor;
7 class::destructor; 14 class::destructor;