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/ecore_input.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/ecore_input.rb')
-rw-r--r-- | lib/efl/native/ecore_input.rb | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/lib/efl/native/ecore_input.rb b/lib/efl/native/ecore_input.rb index e06ed2f..6123b19 100644 --- a/lib/efl/native/ecore_input.rb +++ b/lib/efl/native/ecore_input.rb @@ -49,24 +49,26 @@ module Efl # # CALLBACKS # - # FUNCTIONS - fcts = [ + # VARIABLES # EAPI extern int ECORE_EVENT_KEY_DOWN; - # FIXME + attach_variable :ECORE_EVENT_KEY_DOWN, :int # EAPI extern int ECORE_EVENT_KEY_UP; - # FIXME + attach_variable :ECORE_EVENT_KEY_UP, :int # EAPI extern int ECORE_EVENT_MOUSE_BUTTON_DOWN; - # FIXME + attach_variable :ECORE_EVENT_MOUSE_BUTTON_DOWN, :int # EAPI extern int ECORE_EVENT_MOUSE_BUTTON_UP; - # FIXME + attach_variable :ECORE_EVENT_MOUSE_BUTTON_UP, :int # EAPI extern int ECORE_EVENT_MOUSE_MOVE; - # FIXME + attach_variable :ECORE_EVENT_MOUSE_MOVE, :int # EAPI extern int ECORE_EVENT_MOUSE_WHEEL; - # FIXME + attach_variable :ECORE_EVENT_MOUSE_WHEEL, :int # EAPI extern int ECORE_EVENT_MOUSE_IN; - # FIXME + attach_variable :ECORE_EVENT_MOUSE_IN, :int # EAPI extern int ECORE_EVENT_MOUSE_OUT; - # FIXME + attach_variable :ECORE_EVENT_MOUSE_OUT, :int + # + # FUNCTIONS + fcts = [ # EAPI int ecore_event_init(void); [ :ecore_event_init, [ ], :int ], # EAPI int ecore_event_shutdown(void); |