diff options
author | Daniel Kolesa <d.kolesa@samsung.com> | 2014-09-24 10:39:47 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@samsung.com> | 2014-09-24 10:39:47 +0100 |
commit | cc1a5149feb2b7422209cf2aecad82e0d1813dc3 (patch) | |
tree | 91436e9f2e782cf9773b8e90220e3fa0cf432326 /src | |
parent | 65b2dd391afd781243d44223df0b7d0d4ec0ef85 (diff) | |
download | efl-cc1a5149feb2b7422209cf2aecad82e0d1813dc3.tar.gz |
elua: add some more eo APIs to ffi cdef
Diffstat (limited to 'src')
-rw-r--r-- | src/bindings/luajit/eo.lua | 22 |
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 [[ Eina_Bool eo_isa(const Eo *obj, const Eo_Class *klass); + const char *eo_class_name_get(const Eo_Class *klass); + void eo_constructor(void); void eo_destructor(void); @@ -24,6 +26,26 @@ ffi.cdef [[ Eina_Bool is_super, const char *file, const char *func, int line); void _eo_do_end (const Eo **ojb); + const Eo_Class *eo_class_get(const Eo *obj); + + void *eo_data_xref_internal(const char *file, int line, const Eo *obj, + const Eo_Class *klass, const Eo *ref_obj); + void eo_data_xunref_internal(const Eo *obj, void *data, const Eo *ref_obj); + Eo *eo_xref_internal(const char *file, int line, Eo *obj, const Eo *ref_obj); + void eo_xunref(Eo *obj, const Eo *ref_obj); + Eo *eo_ref(const Eo *obj); + void eo_unref(const Eo *obj); + int eo_ref_get(const Eo *obj); + void eo_del(const Eo *obj); + + void eo_manual_free_set(Eo *obj, Eina_Bool manual_free); + Eina_Bool eo_manual_free(Eo *obj); + Eina_Bool eo_destructed_is(const Eo *obj); + + Eina_Bool eo_composite_attach(Eo *comp_obj, Eo *parent); + Eina_Bool eo_composite_detach(Eo *comp_obj, Eo *parent); + Eina_Bool eo_composite_is(const Eo *comp_obj); + Eo *eo_finalize(void); void eo_parent_set(Eo *parent); |