diff options
Diffstat (limited to 'scripts/ext_skel_ng/php_function.php')
| -rw-r--r-- | scripts/ext_skel_ng/php_function.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/ext_skel_ng/php_function.php b/scripts/ext_skel_ng/php_function.php index 890900ba86..92c970522d 100644 --- a/scripts/ext_skel_ng/php_function.php +++ b/scripts/ext_skel_ng/php_function.php @@ -199,6 +199,12 @@ ." }\n"; } break; + case "stream": + $arg_string .= "r"; + $code .= " zval * _z$name = NULL; \n"; + $code .= " php_stream * $name = NULL:\n"; + $res_fetch.= " php_stream_from_zval($name, &_z$name);\n"; + break; case "mixed": case "callback": $arg_string.="z"; @@ -256,6 +262,10 @@ $code .= " /* RETURN_RESOURCE(...); /*\n"; } break; + + case "stream": + $code .= " /* php_stream_to_zval(stream, return_value); */\n"; + break; case "mixed": $code .= " /* RETURN_...(...); /*\n"; |
