From 39d201946ab782399e8e231f098cb3db3c62227f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 19 Apr 2011 17:30:59 +0200 Subject: fix genruby => callback return type mus handle pointer --- tools/genruby.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1-2-g2b99