summaryrefslogtreecommitdiffstats
path: root/lib/efl/native/eina.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-11 09:24:45 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-11 09:24:45 +0200
commit0c30e8a8efcc32de3216a8f49b84793e51ff31cc (patch)
tree86e1f7ed44472730364a586bca82a884c8d376f0 /lib/efl/native/eina.rb
parent2c794ec852823d6601f6f360962691b56d8c7fbb (diff)
downloadffi-efl-0c30e8a8efcc32de3216a8f49b84793e51ff31cc.zip
ffi-efl-0c30e8a8efcc32de3216a8f49b84793e51ff31cc.tar.gz
take care of EAPI extern with FFI#attach_variable
Diffstat (limited to 'lib/efl/native/eina.rb')
-rw-r--r--lib/efl/native/eina.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/efl/native/eina.rb b/lib/efl/native/eina.rb
index 6303c70..6f7ea11 100644
--- a/lib/efl/native/eina.rb
+++ b/lib/efl/native/eina.rb
@@ -27,13 +27,16 @@ module Efl
# TYPEDEFS
# typedef struct _Eina_Version Eina_Version;
typedef :pointer, :eina_version
+ typedef :pointer, :eina_version_p
#
# CALLBACKS
#
+ # VARIABLES
+ # EAPI extern Eina_Version *eina_version;
+ attach_variable :eina_version, :eina_version_p
+ #
# FUNCTIONS
fcts = [
- # EAPI extern Eina_Version *eina_version;
- # FIXME
# EAPI int eina_init(void);
[ :eina_init, [ ], :int ],
# EAPI int eina_shutdown(void);