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

Comparing EV/typemap (file contents):
Revision 1.5 by root, Mon Oct 29 07:56:03 2007 UTC vs.
Revision 1.6 by root, Mon Oct 29 09:00:43 2007 UTC

1Base T_BASE 1Base T_BASE
2Event T_EVENT 2Event T_EVENT
3Signal T_SIGNAL 3Signal T_SIGNAL
4 4
5/* for 5.6 compatibility */ 5char * T_PVbyte
6const char * T_PV 6const char * T_PVbyte
7 7
8INPUT 8INPUT
9 9
10T_BASE 10T_BASE
11 if (!(SvROK ($arg) && SvOBJECT (SvRV ($arg)) 11 if (!(SvROK ($arg) && SvOBJECT (SvRV ($arg))
21 21
22T_SIGNAL 22T_SIGNAL
23 if (($var = sv_signum ($arg)) <= 0) 23 if (($var = sv_signum ($arg)) <= 0)
24 croak (\"'%s' is not a valid signal number or name\", SvPV_nolen ($arg)); 24 croak (\"'%s' is not a valid signal number or name\", SvPV_nolen ($arg));
25 25
26T_PVbyte
27 $var = ($type)SvPVbyte_nolen ($arg)
28
26OUTPUT 29OUTPUT
27 30
28T_BASE 31T_BASE
29 sv_setref_iv ($arg, "EV::Base", (IV)$var); 32 sv_setref_iv ($arg, "EV::Base", (IV)$var);
30 33
31T_EVENT 34T_EVENT
32 $arg = e_self ($var); 35 $arg = e_self ($var);
33 36
37T_PVbyte
38 sv_setpv ((SV *)$arg, $var);
39

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines