summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-19 17:30:59 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-19 17:30:59 +0200
commit39d201946ab782399e8e231f098cb3db3c62227f (patch)
tree5f58c5a9f6a1fc6cf7e0a24abe46f3b0e9facc6d /tools
parent37c2ce0f79c2a797e4765251d5621d60631800cb (diff)
downloadffi-efl-39d201946ab782399e8e231f098cb3db3c62227f.zip
ffi-efl-39d201946ab782399e8e231f098cb3db3c62227f.tar.gz
fix genruby => callback return type mus handle pointer
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 e291100..4d08840 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -191,7 +191,7 @@ def gen_callbacks path, indent
r = ''
open(path+'-callbacks','r').readlines.each do |l|
l.strip!
- if not l=~/^\s*typedef\s+([a-zA-Z0-9_\* ]+?)\s+\**((?:\(\*)?\w+\)?)\s*\((.*)\);\s*$/
+ if not l=~/^\s*typedef\s+([a-zA-Z0-9_\* ]+?\s+\**)((?:\(\*)?\w+\)?)\s*\((.*)\);\s*$/
r << indent+"# #{l}\n#{indent}# FIXME\n"
next
end