ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/typemap
(Generate patch)

Comparing Convert-UUlib/typemap (file contents):
Revision 1.1 by root, Mon Jun 11 19:48:55 2001 UTC vs.
Revision 1.2 by root, Fri Feb 28 16:57:25 2020 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines