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.109 by root, Thu Dec 14 15:19:31 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;
674 const_iv (AnyModifier), 673 const_iv (AnyModifier),
675 674
676 const_iv (NoSymbol), 675 const_iv (NoSymbol),
677 const_iv (GrabModeSync), 676 const_iv (GrabModeSync),
678 const_iv (GrabModeAsync), 677 const_iv (GrabModeAsync),
679
680 const_iv (EVENT_NONE),
681 const_iv (EVENT_READ),
682 const_iv (EVENT_WRITE),
683 678
684 const_iv (NoEventMask), 679 const_iv (NoEventMask),
685 const_iv (KeyPressMask), 680 const_iv (KeyPressMask),
686 const_iv (KeyReleaseMask), 681 const_iv (KeyReleaseMask),
687 const_iv (ButtonPressMask), 682 const_iv (ButtonPressMask),
1479 1474
1480const char * 1475const char *
1481rxvt_term::x_resource (const char *name) 1476rxvt_term::x_resource (const char *name)
1482 1477
1483bool 1478bool
1484rxvt_term::option (U32 optval, int set = -1) 1479rxvt_term::option (U8 optval, int set = -1)
1485 CODE: 1480 CODE:
1486{ 1481{
1487 RETVAL = THIS->options & optval; 1482 RETVAL = THIS->option (optval);
1488 1483
1489 if (set >= 0) 1484 if (set >= 0)
1490 { 1485 {
1491 if (set)
1492 THIS->options |= optval; 1486 THIS->set_option (optval, set);
1493 else
1494 THIS->options &= ~optval;
1495 1487
1496 if (THIS->check_ev.is_active ()) // avoid doing this before START 1488 if (THIS->check_ev.is_active ()) // avoid doing this before START
1497 switch (optval) 1489 switch (optval)
1498 { 1490 {
1499 case Opt_skipBuiltinGlyphs: 1491 case Opt_skipBuiltinGlyphs:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines