ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/typemap
Revision: 1.9
Committed: Mon Jun 4 16:03:33 2012 UTC (11 years, 11 months ago) by root
Branch: MAIN
Changes since 1.8: +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.3
8 root 1.6 urxvt::pixbuf T_PTROBJ
9    
10 root 1.7 octet_string OCTET_STRING
11     utf8_string UTF8_STRING
12    
13     rxvt_term * TERM
14 root 1.8 rxvt_img * IMG
15 root 1.7
16 root 1.6 GError ** T_UV
17 root 1.3
18 root 1.1 INPUT
19 root 1.3
20 root 1.7 TERM
21 root 1.5 $var = SvTERM ($arg);
22 root 1.7 OVERLAY
23 root 1.5 $var = SvOVERLAY ($arg);
24 root 1.1
25 root 1.7 OCTET_STRING
26 root 1.6 $var = SvPVbyte_nolen ($arg)
27    
28 root 1.7 UTF8_STRING
29     $var = SvPVutf8_nolen ($arg) /* imperfect, destroys references */
30 root 1.3
31 root 1.8 IMG
32     if (SvROK ($arg) && sv_derived_from ($arg, \"urxvt::img\"))
33     $var = INT2PTR ($type, SvIV ((SV *) SvRV ($arg)));
34     else
35     croak (\"%s is not of type urxvt::img\", \"$var\")
36    
37 root 1.1 OUTPUT
38 root 1.3
39 root 1.7 TERM
40 root 1.5 $arg = newSVterm ($var);
41 root 1.3
42 root 1.8 IMG
43     sv_setref_pv ($arg, "urxvt::img", (void *)$var);
44