aboutsummaryrefslogtreecommitdiff
path: root/Lib/php/utils.i
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/php/utils.i')
-rw-r--r--Lib/php/utils.i6
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/php/utils.i b/Lib/php/utils.i
index 8581646a2..ed6e08ff4 100644
--- a/Lib/php/utils.i
+++ b/Lib/php/utils.i
@@ -77,18 +77,12 @@
%{
if (!EG(exception)) {
CONVERT_IN($result, $1_ltype, *$input);
- } else {
- typedef $1_ltype swig_result_typedef;
- $result = swig_result_typedef();
}
%}
%typemap(directorout) const TYPE & ($*1_ltype temp)
%{
if (!EG(exception)) {
CONVERT_IN(temp, $*1_ltype, *$input);
- } else {
- typedef $*1_ltype swig_result_typedef;
- temp = swig_result_typedef();
}
$result = &temp;
%}