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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines