diff options
author | Kjell Ahlstedt <kjell.ahlstedt@bredband.net> | 2011-09-02 19:24:39 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2011-09-06 08:58:06 +0200 |
commit | 6b7e9f8150a57ab7530ab56467127e13b18273a3 (patch) | |
tree | 494c5b0cea7b321eec8a5f85344f4f675a278460 /tools/pm/WrapParser.pm | |
parent | 23036b5cdb42304817466b8cd91ee01f86d2d61c (diff) | |
download | glibmm-6b7e9f8150a57ab7530ab56467127e13b18273a3.tar.gz |
gmmproc: Correct handling of constversion etc. in _WRAP_METHOD.
* tools/pm/WrapParser.pm: The parameters refreturn, errthrow, and
constversion in _WRAP_METHOD was applied also to following instances
wrapping the same C function. Bug #657751, comment 5.
Diffstat (limited to 'tools/pm/WrapParser.pm')
-rw-r--r-- | tools/pm/WrapParser.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/pm/WrapParser.pm b/tools/pm/WrapParser.pm index f31f16da..1b34f3cb 100644 --- a/tools/pm/WrapParser.pm +++ b/tools/pm/WrapParser.pm @@ -894,6 +894,9 @@ sub on_wrap_method($) } # Extra stuff needed? + $$objCfunc{rettype_needs_ref} = 0; + $$objCfunc{throw_any_errors} = 0; + $$objCfunc{constversion} = 0; $$objCfunc{deprecated} = ""; my $deprecation_docs = ""; my $ifdef; @@ -984,6 +987,7 @@ sub on_wrap_method_docs_only($) } # Extra ref needed? + $$objCfunc{throw_any_errors} = 0; while($#args >= 1) # If the optional ref/err arguments are there. { my $argRef = string_trim(pop @args); |