diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-19 17:30:59 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-19 17:30:59 +0200 |
commit | 39d201946ab782399e8e231f098cb3db3c62227f (patch) | |
tree | 5f58c5a9f6a1fc6cf7e0a24abe46f3b0e9facc6d | |
parent | 37c2ce0f79c2a797e4765251d5621d60631800cb (diff) | |
download | ffi-efl-39d201946ab782399e8e231f098cb3db3c62227f.zip ffi-efl-39d201946ab782399e8e231f098cb3db3c62227f.tar.gz |
fix genruby => callback return type mus handle pointer
-rwxr-xr-x | tools/genruby.rb | 2 |
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 |