diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/efl/ffi.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/efl/ffi.rb b/lib/efl/ffi.rb index 5aca7eb..65a7f8f 100644 --- a/lib/efl/ffi.rb +++ b/lib/efl/ffi.rb @@ -17,6 +17,14 @@ module Efl end end # + def ffi_typedefs + @ffi_typedefs + end + # + def steal_ffitype mod, sym + typedef mod.ffi_typedefs[sym], sym + end + # def self.extended mod # mod.extend FFI::Library @@ -54,6 +62,7 @@ module Efl mod.callback :eina_compare_cb, [ :void_p, :void_p ], :int mod.callback :eina_each_cb, [ :void_p, :void_p, :void_p ], :eina_bool mod.callback :eina_free_cb, [ :void_p ], :void + # end # end |