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

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