summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-09-24 10:39:47 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-09-24 10:39:47 +0100
commitcc1a5149feb2b7422209cf2aecad82e0d1813dc3 (patch)
tree91436e9f2e782cf9773b8e90220e3fa0cf432326
parent65b2dd391afd781243d44223df0b7d0d4ec0ef85 (diff)
elua: add some more eo APIs to ffi cdef
-rw-r--r--src/bindings/luajit/eo.lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/bindings/luajit/eo.lua b/src/bindings/luajit/eo.lua
index b1261e5d58..a85a0eb6b8 100644
--- a/src/bindings/luajit/eo.lua
+++ b/src/bindings/luajit/eo.lua
@@ -14,6 +14,8 @@ ffi.cdef [[
14 14
15 Eina_Bool eo_isa(const Eo *obj, const Eo_Class *klass); 15 Eina_Bool eo_isa(const Eo *obj, const Eo_Class *klass);
16 16
17 const char *eo_class_name_get(const Eo_Class *klass);
18
17 void eo_constructor(void); 19 void eo_constructor(void);
18 void eo_destructor(void); 20 void eo_destructor(void);
19 21
@@ -24,6 +26,26 @@ ffi.cdef [[
24 Eina_Bool is_super, const char *file, const char *func, int line); 26 Eina_Bool is_super, const char *file, const char *func, int line);
25 void _eo_do_end (const Eo **ojb); 27 void _eo_do_end (const Eo **ojb);
26 28
29 const Eo_Class *eo_class_get(const Eo *obj);
30
31 void *eo_data_xref_internal(const char *file, int line, const Eo *obj,
32 const Eo_Class *klass, const Eo *ref_obj);
33 void eo_data_xunref_internal(const Eo *obj, void *data, const Eo *ref_obj);
34 Eo *eo_xref_internal(const char *file, int line, Eo *obj, const Eo *ref_obj);
35 void eo_xunref(Eo *obj, const Eo *ref_obj);
36 Eo *eo_ref(const Eo *obj);
37 void eo_unref(const Eo *obj);
38 int eo_ref_get(const Eo *obj);
39 void eo_del(const Eo *obj);
40
41 void eo_manual_free_set(Eo *obj, Eina_Bool manual_free);
42 Eina_Bool eo_manual_free(Eo *obj);
43 Eina_Bool eo_destructed_is(const Eo *obj);
44
45 Eina_Bool eo_composite_attach(Eo *comp_obj, Eo *parent);
46 Eina_Bool eo_composite_detach(Eo *comp_obj, Eo *parent);
47 Eina_Bool eo_composite_is(const Eo *comp_obj);
48
27 Eo *eo_finalize(void); 49 Eo *eo_finalize(void);
28 50
29 void eo_parent_set(Eo *parent); 51 void eo_parent_set(Eo *parent);