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.6 by root, Sun Jun 3 10:38:22 2012 UTC vs.
Revision 1.11 by root, Thu Jun 14 18:19:11 2012 UTC

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