diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-20 16:55:46 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-20 16:55:46 +0200 |
commit | 1e52dc26575a472fd108e187bda2cd2447a387cc (patch) | |
tree | 306920873995e6c8dec7561cd9c9d368d3728b5f | |
parent | d37c4333c4eb1a7d659fd45c05b7fa02ee7c0172 (diff) | |
download | ffi-efl-1e52dc26575a472fd108e187bda2cd2447a387cc.zip ffi-efl-1e52dc26575a472fd108e187bda2cd2447a387cc.tar.gz |
focus jeremy please
-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) |