File: typemap

package info (click to toggle)
libconvert-uulib-perl 1%3A1.8%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 884 kB
  • sloc: ansic: 9,738; perl: 135; makefile: 44; awk: 13
file content (16 lines) | stat: -rw-r--r-- 303 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
uulist *			T_UULIST

INPUT

T_UULIST
	if (sv_derived_from ($arg, \"Convert::UUlib::Item\")) {
	    IV tmp = SvIV ((SV*)SvRV ($arg));
	    $var = ($type)tmp;
	}
	else
	    croak (\"$var is not of type Convert::UUlib::Item\")

OUTPUT

T_UULIST
	sv_setref_pv ($arg, \"Convert::UUlib::Item\", (void*)$var);