summaryrefslogtreecommitdiff
path: root/ext/XS-Typemap/Typemap.xs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/XS-Typemap/Typemap.xs')
-rw-r--r--ext/XS-Typemap/Typemap.xs9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/XS-Typemap/Typemap.xs b/ext/XS-Typemap/Typemap.xs
index 3fa0e74abc..8314cc2b04 100644
--- a/ext/XS-Typemap/Typemap.xs
+++ b/ext/XS-Typemap/Typemap.xs
@@ -906,6 +906,15 @@ T_STDIO_open( file )
OUTPUT:
RETVAL
+void
+T_STDIO_open_ret_in_arg( file, io)
+ const char * file
+ FILE * io = NO_INIT
+ CODE:
+ io = xsfopen( file );
+ OUTPUT:
+ io
+
SysRet
T_STDIO_close( f )
PerlIO * f