ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtperl.xs
(Generate patch)

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.151 by root, Thu Jan 19 13:04:12 2012 UTC vs.
Revision 1.155 by root, Sun Jun 3 10:38:22 2012 UTC

27#undef line_t 27#undef line_t
28#undef bool // perl defines it's own bool type, except with g++... what a trap 28#undef bool // perl defines it's own bool type, except with g++... what a trap
29 29
30#include "../config.h" 30#include "../config.h"
31 31
32#include <cstddef> 32#include <stddef.h>
33#include <cstdarg> 33#include <stdarg.h>
34 34
35#include "unistd.h" 35#include "unistd.h"
36 36
37#include "ev_cpp.h" 37#include "ev_cpp.h"
38#include "rxvt.h" 38#include "rxvt.h"
46 46
47#undef LINENO 47#undef LINENO
48#define LINENO(n) MOD (THIS->term_start + int(n), THIS->total_rows) 48#define LINENO(n) MOD (THIS->term_start + int(n), THIS->total_rows)
49#undef ROW 49#undef ROW
50#define ROW(n) THIS->row_buf [LINENO (n)] 50#define ROW(n) THIS->row_buf [LINENO (n)]
51
52/////////////////////////////////////////////////////////////////////////////
53
54typedef char * octet_string;
55typedef char * utf8_string;
56
57typedef GdkPixbuf * urxvt__pixbuf;
58typedef rxvt_img * urxvt__img;
51 59
52///////////////////////////////////////////////////////////////////////////// 60/////////////////////////////////////////////////////////////////////////////
53 61
54static wchar_t * 62static wchar_t *
55sv2wcs (SV *sv) 63sv2wcs (SV *sv)
1554 THIS->scr_remap_chars (); 1562 THIS->scr_remap_chars ();
1555 THIS->scr_touch (true); 1563 THIS->scr_touch (true);
1556 THIS->want_refresh = 1; 1564 THIS->want_refresh = 1;
1557 THIS->refresh_check (); 1565 THIS->refresh_check ();
1558 break; 1566 break;
1567#ifdef CURSOR_BLINK
1568 case Opt_cursorBlink:
1569 THIS->cursor_blink_reset ();
1570 break;
1571#endif
1559 1572
1560 case Opt_cursorUnderline: 1573 case Opt_cursorUnderline:
1561 THIS->want_refresh = 1; 1574 THIS->want_refresh = 1;
1562 THIS->refresh_check (); 1575 THIS->refresh_check ();
1563 break; 1576 break;
1915void 1928void
1916overlay::DESTROY () 1929overlay::DESTROY ()
1917 1930
1918INCLUDE: $PERL <iom_perl.xs -pe s/IOM_MODULE/urxvt/g,s/IOM_CLASS/urxvt/g | 1931INCLUDE: $PERL <iom_perl.xs -pe s/IOM_MODULE/urxvt/g,s/IOM_CLASS/urxvt/g |
1919 1932
1933MODULE = urxvt PACKAGE = urxvt::pixbuf PREFIX = gdk_pixbuf_
1934
1935urxvt::pixbuf gdk_pixbuf_new_from_file (octet_string filename, GError **error = 0)
1936
1937void
1938DESTROY (urxvt::pixbuf self)
1939 CODE:
1940 gdk_pixbuf_unref (self);
1941

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines