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.7 by root, Sun Jun 3 15:54:05 2012 UTC vs.
Revision 1.10 by root, Tue Jun 5 13:39:26 2012 UTC

1overlay * OVERLAY 1overlay * OVERLAY
2 2
3Time T_UV 3Time T_UV
4Atom T_UV 4Atom T_UV
5Window T_UV 5Window T_UV
6Pixmap T_UV
6 7
7urxvt::pixbuf T_PTROBJ 8urxvt::pixbuf T_PTROBJ
8urxvt::img T_PTROBJ
9 9
10octet_string OCTET_STRING 10octet_string OCTET_STRING
11utf8_string UTF8_STRING 11utf8_string UTF8_STRING
12 12
13rxvt_term * TERM 13rxvt_term * TERM
14rxvt_img * IMG
14 15
15GError ** T_UV 16GError ** T_UV
17
18render_repeat_mode RENDER_REPEAT_MODE
16 19
17INPUT 20INPUT
18 21
19TERM 22TERM
20 $var = SvTERM ($arg); 23 $var = SvTERM ($arg);
25 $var = SvPVbyte_nolen ($arg) 28 $var = SvPVbyte_nolen ($arg)
26 29
27UTF8_STRING 30UTF8_STRING
28 $var = SvPVutf8_nolen ($arg) /* imperfect, destroys references */ 31 $var = SvPVutf8_nolen ($arg) /* imperfect, destroys references */
29 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;
48
30OUTPUT 49OUTPUT
31 50
32TERM 51TERM
33 $arg = newSVterm ($var); 52 $arg = newSVterm ($var);
34 53
54IMG
55 sv_setref_pv ($arg, "urxvt::img", (void *)$var);
56

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines