diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-28 17:00:26 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-28 17:00:26 +0200 |
commit | aa7ddc693a3bf6fed5c346f83b3aa7791ba83a8a (patch) | |
tree | 610ef37319d2a32ef587bbf3c34ca2048e971bde /lib/efl | |
parent | 35eceb0f17b46aeb56dcbd72569a42676cf63923 (diff) | |
download | ffi-efl-aa7ddc693a3bf6fed5c346f83b3aa7791ba83a8a.zip ffi-efl-aa7ddc693a3bf6fed5c346f83b3aa7791ba83a8a.tar.gz |
fix efl/ffi/ecore_input generation, add specs
Diffstat (limited to 'lib/efl')
-rw-r--r-- | lib/efl/ecore/ecore_input.rb | 13 | ||||
-rw-r--r-- | lib/efl/ffi/ecore/ecore_input.rb | 4 |
2 files changed, 15 insertions, 2 deletions
diff --git a/lib/efl/ecore/ecore_input.rb b/lib/efl/ecore/ecore_input.rb new file mode 100644 index 0000000..b7f579d --- /dev/null +++ b/lib/efl/ecore/ecore_input.rb @@ -0,0 +1,13 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +require 'efl/ffi/ecore/ecore_input' +# +module Efl + module EcoreInput + # + # + end +end +# +# EOF diff --git a/lib/efl/ffi/ecore/ecore_input.rb b/lib/efl/ffi/ecore/ecore_input.rb index e88e7fb..9583639 100644 --- a/lib/efl/ffi/ecore/ecore_input.rb +++ b/lib/efl/ffi/ecore/ecore_input.rb @@ -7,14 +7,14 @@ module Efl # module EcoreInput def self.method_missing m, *args, &block - return Efl::FFI.send 'ecore_'+m.to_s, *args, &block + return Efl::FFI.send 'ecore_event_'+m.to_s, *args, &block end end # module FFI # # - ffi_lib 'ecore' + ffi_lib 'ecore_input' # # ENUMS # typedef enum _Ecore_Event_Modifier {...} Ecore_Event_Modifier; |