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/edje.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/edje.rb')
-rw-r--r-- | lib/efl/native/edje.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/efl/native/edje.rb b/lib/efl/native/edje.rb index b44e922..d2f315e 100644 --- a/lib/efl/native/edje.rb +++ b/lib/efl/native/edje.rb @@ -73,6 +73,7 @@ module Efl # TYPEDEFS # typedef struct _Edje_Version Edje_Version; typedef :pointer, :edje_version + typedef :pointer, :edje_version_p # typedef struct _Edje_Message_String Edje_Message_String; typedef :pointer, :edje_message_string # typedef struct _Edje_Message_Int Edje_Message_Int; @@ -121,10 +122,12 @@ module Efl # typedef Evas_Object *(*Edje_Item_Provider_Cb) (void *data, Evas_Object *obj, const char *part, const char *item); callback :edje_item_provider_cb, [ :void_p, :evas_object_p, :string, :string ], :evas_object_p # + # VARIABLES + # EAPI extern Edje_Version *edje_version; + attach_variable :edje_version, :edje_version_p + # # FUNCTIONS fcts = [ - # EAPI extern Edje_Version *edje_version; - # FIXME # EAPI const char *edje_external_param_type_str(Edje_External_Param_Type type); [ :edje_external_param_type_str, [ :edje_external_param_type ], :string ], # EAPI int edje_init (void); |