diff options
author | Olly Betts <olly@survex.com> | 2021-04-21 17:43:12 +1200 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2021-04-21 18:16:08 +1200 |
commit | 33feca7527758466af7b6ffc503cf46fc18d0ee2 (patch) | |
tree | b0a6877452a35ff72d14eeda1b6dedd62edd6c79 /Source/Modules/php.cxx | |
parent | ac676d1a6c98c57a316842abeb92c5d4a8da8cb9 (diff) | |
download | swig-33feca7527758466af7b6ffc503cf46fc18d0ee2.tar.gz |
Eliminate SWIG_SetZval()
$needNewFlow is now only used for a different hack in a directorout
typemap.
Diffstat (limited to 'Source/Modules/php.cxx')
-rw-r--r-- | Source/Modules/php.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/Modules/php.cxx b/Source/Modules/php.cxx index ae3ae0c93..b30f57076 100644 --- a/Source/Modules/php.cxx +++ b/Source/Modules/php.cxx @@ -1402,7 +1402,6 @@ public: Replaceall(tm, "$input", Swig_cresult_name()); Replaceall(tm, "$result", php_constructor ? "ZEND_THIS" : "return_value"); Replaceall(tm, "$owner", newobject ? "1" : "0"); - Replaceall(tm, "$needNewFlow", php_constructor && is_class(d) ? "2" : "0"); Printf(f->code, "%s\n", tm); } else { Swig_warning(WARN_TYPEMAP_OUT_UNDEF, input_file, line_number, "Unable to use return type %s in function %s.\n", SwigType_str(d, 0), name); |