diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-05-11 09:24:45 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-05-11 09:24:45 +0200 |
commit | 0c30e8a8efcc32de3216a8f49b84793e51ff31cc (patch) | |
tree | 86e1f7ed44472730364a586bca82a884c8d376f0 /lib/efl/native/eet.rb | |
parent | 2c794ec852823d6601f6f360962691b56d8c7fbb (diff) | |
download | ffi-efl-0c30e8a8efcc32de3216a8f49b84793e51ff31cc.zip ffi-efl-0c30e8a8efcc32de3216a8f49b84793e51ff31cc.tar.gz |
take care of EAPI extern with FFI#attach_variable
Diffstat (limited to 'lib/efl/native/eet.rb')
-rw-r--r-- | lib/efl/native/eet.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/efl/native/eet.rb b/lib/efl/native/eet.rb index 1609962..11a5e29 100644 --- a/lib/efl/native/eet.rb +++ b/lib/efl/native/eet.rb @@ -34,6 +34,7 @@ module Efl # TYPEDEFS # typedef struct _Eet_Version Eet_Version; typedef :pointer, :eet_version + typedef :pointer, :eet_version_p # typedef struct _Eet_File Eet_File; typedef :pointer, :eet_file typedef :pointer, :eet_file_p @@ -124,10 +125,12 @@ module Efl # typedef Eina_Bool Eet_Write_Cb (const void *data, size_t size, void *user_data); callback :eet_write_cb, [ :void_p, :ulong, :void_p ], :eina_bool # + # VARIABLES + # EAPI extern Eet_Version *eet_version; + attach_variable :eet_version, :eet_version_p + # # FUNCTIONS fcts = [ - # EAPI extern Eet_Version *eet_version; - # FIXME # EAPI int eet_init(void); [ :eet_init, [ ], :int ], # EAPI int eet_shutdown(void); |