summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-20 16:55:46 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-20 16:55:46 +0200
commit1e52dc26575a472fd108e187bda2cd2447a387cc (patch)
tree306920873995e6c8dec7561cd9c9d368d3728b5f /tools
parentd37c4333c4eb1a7d659fd45c05b7fa02ee7c0172 (diff)
downloadffi-efl-1e52dc26575a472fd108e187bda2cd2447a387cc.zip
ffi-efl-1e52dc26575a472fd108e187bda2cd2447a387cc.tar.gz
focus jeremy please
Diffstat (limited to 'tools')
-rwxr-xr-xtools/genruby.rb2
1 files changed, 1 insertions, 1 deletions
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)