ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/typemap
Revision: 1.11
Committed: Thu Jun 14 18:19:11 2012 UTC (11 years, 11 months ago) by root
Branch: MAIN
CVS Tags: rxvt-unicode-rel-9_29, rxvt-unicode-rel-9_26, rxvt-unicode-rel-9_25, rxvt-unicode-rel-9_22, rxvt-unicode-rel-9_20, rxvt-unicode-rel-9_21, rxvt-unicode-rel-9_19, rxvt-unicode-rel-9_18, rxvt-unicode-rel-9_17, rxvt-unicode-rel-9_16, rxvt-unicode-rel-9_30
Changes since 1.10: +1 -0 lines
Log Message:
*** empty log message ***

File Contents

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