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.148 by root, Sat Dec 17 23:17:33 2011 UTC vs.
Revision 1.151 by root, Thu Jan 19 13:04:12 2012 UTC

23#define line_t perl_line_t 23#define line_t perl_line_t
24#include <EXTERN.h> 24#include <EXTERN.h>
25#include <perl.h> 25#include <perl.h>
26#include <XSUB.h> 26#include <XSUB.h>
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 29
29#include "../config.h" 30#include "../config.h"
30 31
31#include <cstddef> 32#include <cstddef>
32#include <cstdarg> 33#include <cstdarg>
1099 free (wstr); 1100 free (wstr);
1100} 1101}
1101 OUTPUT: 1102 OUTPUT:
1102 RETVAL 1103 RETVAL
1103 1104
1104char *
1105rxvt_term::locale ()
1106 CODE:
1107 RETVAL = THIS->locale;
1108 OUTPUT:
1109 RETVAL
1110
1111#define TERM_OFFSET(sym) offsetof (TermWin_t, sym) 1105#define TERM_OFFSET(sym) offsetof (TermWin_t, sym)
1112 1106
1113#define TERM_OFFSET_width TERM_OFFSET(width) 1107#define TERM_OFFSET_width TERM_OFFSET(width)
1114#define TERM_OFFSET_height TERM_OFFSET(height) 1108#define TERM_OFFSET_height TERM_OFFSET(height)
1115#define TERM_OFFSET_fwidth TERM_OFFSET(fwidth) 1109#define TERM_OFFSET_fwidth TERM_OFFSET(fwidth)
1550 1544
1551 if (set >= 0) 1545 if (set >= 0)
1552 { 1546 {
1553 THIS->set_option (optval, set); 1547 THIS->set_option (optval, set);
1554 1548
1555 if (THIS->env_colorfgbg [0]) // avoid doing this before START 1549 if (THIS->init_done) // avoid doing this before START
1556 switch (optval) 1550 switch (optval)
1557 { 1551 {
1558 case Opt_skipBuiltinGlyphs: 1552 case Opt_skipBuiltinGlyphs:
1559 THIS->set_fonts (); 1553 THIS->set_fonts ();
1560 THIS->scr_remap_chars (); 1554 THIS->scr_remap_chars ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines