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.11 by root, Thu Jun 14 18:19:11 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
7rxvt_img::nv T_NV
6 8
7urxvt::pixbuf T_PTROBJ 9urxvt::pixbuf T_PTROBJ
8urxvt::img T_PTROBJ
9 10
10octet_string OCTET_STRING 11octet_string OCTET_STRING
11utf8_string UTF8_STRING 12utf8_string UTF8_STRING
12 13
13rxvt_term * TERM 14rxvt_term * TERM
15rxvt_img * IMG
14 16
15GError ** T_UV 17GError ** T_UV
18
19render_repeat_mode RENDER_REPEAT_MODE
16 20
17INPUT 21INPUT
18 22
19TERM 23TERM
20 $var = SvTERM ($arg); 24 $var = SvTERM ($arg);
25 $var = SvPVbyte_nolen ($arg) 29 $var = SvPVbyte_nolen ($arg)
26 30
27UTF8_STRING 31UTF8_STRING
28 $var = SvPVutf8_nolen ($arg) /* imperfect, destroys references */ 32 $var = SvPVutf8_nolen ($arg) /* imperfect, destroys references */
29 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;
49
30OUTPUT 50OUTPUT
31 51
32TERM 52TERM
33 $arg = newSVterm ($var); 53 $arg = newSVterm ($var);
34 54
55IMG
56 sv_setref_pv ($arg, "urxvt::img", (void *)$var);
57

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines