ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/typemap
Revision: 1.2
Committed: Fri Feb 28 16:57:25 2020 UTC (4 years, 2 months ago) by root
Branch: MAIN
CVS Tags: rel-1_71, rel-1_8, rel-1_7, HEAD
Changes since 1.1: +5 -5 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 uulist * T_UULIST
2
3 INPUT
4
5 T_UULIST
6 if (sv_derived_from ($arg, \"Convert::UUlib::Item\")) {
7 IV tmp = SvIV ((SV*)SvRV ($arg));
8 $var = ($type)tmp;
9 }
10 else
11 croak (\"$var is not of type Convert::UUlib::Item\")
12
13 OUTPUT
14
15 T_UULIST
16 sv_setref_pv ($arg, \"Convert::UUlib::Item\", (void*)$var);