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.110 by root, Thu Dec 14 17:22:04 2006 UTC vs.
Revision 1.113 by ayin, Tue May 1 21:10:04 2007 UTC

50#undef LINENO 50#undef LINENO
51#define LINENO(n) MOD (THIS->term_start + int(n), THIS->total_rows) 51#define LINENO(n) MOD (THIS->term_start + int(n), THIS->total_rows)
52#undef ROW 52#undef ROW
53#define ROW(n) THIS->row_buf [LINENO (n)] 53#define ROW(n) THIS->row_buf [LINENO (n)]
54 54
55typedef int CHAINED UNUSED;
56
57///////////////////////////////////////////////////////////////////////////// 55/////////////////////////////////////////////////////////////////////////////
58 56
59static wchar_t * 57static wchar_t *
60sv2wcs (SV *sv) 58sv2wcs (SV *sv)
61{ 59{
304} 302}
305 303
306///////////////////////////////////////////////////////////////////////////// 304/////////////////////////////////////////////////////////////////////////////
307 305
308#define IOM_CLASS "urxvt" 306#define IOM_CLASS "urxvt"
307#define IOM_WARN rxvt_warn
309#include <iom_perl.h> 308#include <iom_perl.h>
310 309
311///////////////////////////////////////////////////////////////////////////// 310/////////////////////////////////////////////////////////////////////////////
312 311
313struct rxvt_perl_interp rxvt_perl; 312struct rxvt_perl_interp rxvt_perl;
1475 1474
1476const char * 1475const char *
1477rxvt_term::x_resource (const char *name) 1476rxvt_term::x_resource (const char *name)
1478 1477
1479bool 1478bool
1480rxvt_term::option (U32 optval, int set = -1) 1479rxvt_term::option (U8 optval, int set = -1)
1481 CODE: 1480 CODE:
1482{ 1481{
1483 RETVAL = THIS->options & optval; 1482 RETVAL = THIS->option (optval);
1484 1483
1485 if (set >= 0) 1484 if (set >= 0)
1486 { 1485 {
1487 if (set)
1488 THIS->options |= optval; 1486 THIS->set_option (optval, set);
1489 else
1490 THIS->options &= ~optval;
1491 1487
1492 if (THIS->check_ev.is_active ()) // avoid doing this before START 1488 if (THIS->check_ev.is_active ()) // avoid doing this before START
1493 switch (optval) 1489 switch (optval)
1494 { 1490 {
1495 case Opt_skipBuiltinGlyphs: 1491 case Opt_skipBuiltinGlyphs:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines