ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/typemap
(Generate patch)

Comparing rxvt-unicode/src/typemap (file contents):
Revision 1.5 by root, Thu Dec 14 17:40:03 2006 UTC vs.
Revision 1.11 by root, Thu Jun 14 18:19:11 2012 UTC

1rxvt_term * T_TERM
2
3overlay * T_OVERLAY 1overlay * OVERLAY
4 2
5Time T_UV 3Time T_UV
6Atom T_UV 4Atom T_UV
7Window T_UV 5Window T_UV
6Pixmap T_UV
7rxvt_img::nv T_NV
8 8
9urxvt::pixbuf T_PTROBJ
10
11octet_string OCTET_STRING
12utf8_string UTF8_STRING
13
14rxvt_term * TERM
15rxvt_img * IMG
16
17GError ** T_UV
18
19render_repeat_mode RENDER_REPEAT_MODE
9 20
10INPUT 21INPUT
11 22
12T_TERM 23TERM
13 $var = SvTERM ($arg); 24 $var = SvTERM ($arg);
14T_OVERLAY 25OVERLAY
15 $var = SvOVERLAY ($arg); 26 $var = SvOVERLAY ($arg);
16 27
28OCTET_STRING
29 $var = SvPVbyte_nolen ($arg)
30
31UTF8_STRING
32 $var = SvPVutf8_nolen ($arg) /* imperfect, destroys references */
33
34IMG
35 if (SvROK ($arg) && sv_derived_from ($arg, \"urxvt::img\"))
36 $var = INT2PTR ($type, SvIV ((SV *) SvRV ($arg)));
37 else
38 croak (\"%s is not of type urxvt::img\", \"$var\")
39
40RENDER_REPEAT_MODE
41 if (SvOK ($arg))
42 {
43 $var = SvIV ($arg);
44 if ($var != RepeatNone && $var != RepeatNormal && $var != RepeatPad && $var != RepeatReflect)
45 croak (\"invalid repeat mode specified (%d)\\n\", $var);
46 }
47 else
48 $var = RepeatNormal;
17 49
18OUTPUT 50OUTPUT
19 51
20T_TERM 52TERM
21 $arg = newSVterm ($var); 53 $arg = newSVterm ($var);
22 54
55IMG
56 sv_setref_pv ($arg, "urxvt::img", (void *)$var);
57

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines