summaryrefslogtreecommitdiff
path: root/Lib/php/std_auto_ptr.i
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/php/std_auto_ptr.i')
-rw-r--r--Lib/php/std_auto_ptr.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/php/std_auto_ptr.i b/Lib/php/std_auto_ptr.i
index 7df497e60..bd07dbdb5 100644
--- a/Lib/php/std_auto_ptr.i
+++ b/Lib/php/std_auto_ptr.i
@@ -13,10 +13,10 @@
res = SWIG_ConvertPtr(&$input, &argp, $descriptor(TYPE *), SWIG_POINTER_RELEASE);
if (!SWIG_IsOK(res)) {
if (res == SWIG_ERROR_RELEASE_NOT_OWNED) {
- zend_type_error("Cannot release ownership as memory is not owned for argument $argnum of type 'TYPE *' of $symname");
+ zend_type_error("Cannot release ownership as memory is not owned for argument $argnum of $descriptor(TYPE *) of $symname");
return;
} else {
- zend_type_error("Expected TYPE * for argument $argnum of $symname");
+ zend_type_error("Expected $descriptor(TYPE *) for argument $argnum of $symname");
return;
}
}