Message-ID: <Pine.LNX.4.30.
0103271633030.21198-100000@lapaki.jach.hawaii.edu>
p4raw-id: //depot/perl@9402
T_REF_IV_PTR_IN T_REF_IV_PTR_OUT
T_PTROBJ_IN T_PTROBJ_OUT
T_OPAQUE_IN T_OPAQUE_array
- T_OPAQUEPTR_IN T_OPAQUEPTR_OUT
+ T_OPAQUEPTR_IN T_OPAQUEPTR_OUT T_OPAQUEPTR_OUT_short
T_ARRAY
T_STDIO_open T_STDIO_close T_STDIO_print
/);
OUTPUT:
RETVAL
+short
+T_OPAQUEPTR_OUT_short( ptr )
+ shortOPQ * ptr
+ CODE:
+ RETVAL = *ptr;
+ OUTPUT:
+ RETVAL
+
=item T_OPAQUE
This can be used to store pointers to non-pointer types in an SV. It
intOpq T_IV
intOpq * T_OPAQUEPTR
shortOPQ T_OPAQUE
+shortOPQ * T_OPAQUEPTR
$t = 48;
$ptr = T_OPAQUE_IN( $t );
-ok(T_OPAQUEPTR_OUT( $ptr ), $t);
+ok(T_OPAQUEPTR_OUT_short( $ptr ), $t);
# T_OPAQUE_array
my @opq = (2,4,8);