diff options
-rw-r--r-- | lib/efl/ecore/ecore_evas-ffi.rb | 2 | ||||
-rw-r--r-- | lib/efl/ecore/ecore_input-ffi.rb | 2 | ||||
-rw-r--r-- | lib/efl/eina/eina_types-ffi.rb | 2 | ||||
-rwxr-xr-x | tools/genruby.rb | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/efl/ecore/ecore_evas-ffi.rb b/lib/efl/ecore/ecore_evas-ffi.rb index 83adb55..948cae7 100644 --- a/lib/efl/ecore/ecore_evas-ffi.rb +++ b/lib/efl/ecore/ecore_evas-ffi.rb @@ -7,7 +7,7 @@ module Efl # module Ecore_evas def self.method_missing m, *args, &block - return Efl::API.send 'ecore_evas_'+m.to_s, *args, &block + return Efl::API.send 'ecore_'+m.to_s, *args, &block end end # diff --git a/lib/efl/ecore/ecore_input-ffi.rb b/lib/efl/ecore/ecore_input-ffi.rb index e80db89..a98e927 100644 --- a/lib/efl/ecore/ecore_input-ffi.rb +++ b/lib/efl/ecore/ecore_input-ffi.rb @@ -7,7 +7,7 @@ module Efl # module EcoreInput def self.method_missing m, *args, &block - return Efl::API.send 'ecore_input_'+m.to_s, *args, &block + return Efl::API.send 'ecore_'+m.to_s, *args, &block end end # diff --git a/lib/efl/eina/eina_types-ffi.rb b/lib/efl/eina/eina_types-ffi.rb index b86fd74..2601ee3 100644 --- a/lib/efl/eina/eina_types-ffi.rb +++ b/lib/efl/eina/eina_types-ffi.rb @@ -7,7 +7,7 @@ module Efl # module Eina def self.method_missing m, *args, &block - return Efl::API.send 'eina_types_'+m.to_s, *args, &block + return Efl::API.send 'eina_'+m.to_s, *args, &block end end # diff --git a/tools/genruby.rb b/tools/genruby.rb index f9e1480..6acf55b 100755 --- a/tools/genruby.rb +++ b/tools/genruby.rb @@ -243,7 +243,7 @@ libraries.collect do |header,module_name,module_base,lib| Dir.mkdir dir unless Dir.exists? dir output = File.join dir, "#{header[0..-3].downcase}-ffi.rb" puts "parse #{base}-*" - r = [lib, output, module_name, header[0..-3].downcase ] + r = [lib, output, module_name, module_base ] r << gen_enums(base, INDENT) r << gen_typedefs(base, INDENT) r << gen_callbacks(base, INDENT) |