From aa7ddc693a3bf6fed5c346f83b3aa7791ba83a8a Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher Date: Thu, 28 Apr 2011 17:00:26 +0200 Subject: fix efl/ffi/ecore_input generation, add specs --- lib/efl/ecore/ecore_input.rb | 13 +++++++++++++ lib/efl/ffi/ecore/ecore_input.rb | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 lib/efl/ecore/ecore_input.rb (limited to 'lib/efl') 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; -- cgit v1.2.3