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.217 by sf-exg, Sat Nov 2 10:32:25 2013 UTC vs.
Revision 1.222 by root, Sat May 17 15:25:04 2014 UTC

793 static const struct { 793 static const struct {
794 const char *name; 794 const char *name;
795 IV iv; 795 IV iv;
796 } *civ, const_iv[] = { 796 } *civ, const_iv[] = {
797# define const_iv(name) { # name, (IV)name } 797# define const_iv(name) { # name, (IV)name }
798 const_iv (HOOK_INIT),
799 const_iv (HOOK_DESTROY),
800 const_iv (HOOK_ACTION),
801
798 const_iv (NUM_RESOURCES), 802 const_iv (NUM_RESOURCES),
799 const_iv (DEFAULT_RSTYLE), 803 const_iv (DEFAULT_RSTYLE),
800 const_iv (OVERLAY_RSTYLE), 804 const_iv (OVERLAY_RSTYLE),
801 const_iv (Color_Bits), 805 const_iv (Color_Bits),
802 const_iv (RS_bgShift), const_iv (RS_bgMask), 806 const_iv (RS_bgShift), const_iv (RS_bgMask),
1827} 1831}
1828 OUTPUT: 1832 OUTPUT:
1829 RETVAL 1833 RETVAL
1830 1834
1831bool 1835bool
1832rxvt_term::parse_keysym (char *keysym, char *str) 1836rxvt_term::bind_action (char *keysym, char *str)
1837 ALIAS:
1838 parse_keysym = 1
1833 CODE: 1839 CODE:
1834 RETVAL = 0 < THIS->parse_keysym (keysym, str); 1840 RETVAL = 0 < THIS->bind_action (keysym, str);
1835 THIS->keyboard->register_done (); 1841 THIS->keyboard->register_done ();
1836 OUTPUT: 1842 OUTPUT:
1837 RETVAL 1843 RETVAL
1838 1844
1839void 1845void
1840rxvt_term::register_command (int keysym, unsigned int state, SV *str) 1846rxvt_term::register_command (int keysym, unsigned int state, SV *str)
1841 CODE: 1847 CODE:
1842 wchar_t *wstr = sv2wcs (str); 1848 wchar_t *wstr = sv2wcs (str);
1843 THIS->keyboard->register_user_translation (keysym, state, wstr); 1849 THIS->keyboard->register_action (keysym, state, wstr);
1844 free (wstr); 1850 free (wstr);
1845 1851
1846void 1852void
1847rxvt_term::screen_cur (...) 1853rxvt_term::screen_cur (...)
1848 PROTOTYPE: $;$$ 1854 PROTOTYPE: $;$$
1975 THIS->scr_add_lines (wstr, wcslen (wstr)); 1981 THIS->scr_add_lines (wstr, wcslen (wstr));
1976 free (wstr); 1982 free (wstr);
1977} 1983}
1978 1984
1979void 1985void
1986rxvt_term::tt_write_user_input (SV *octets)
1987 INIT:
1988 STRLEN len;
1989 char *str = SvPVbyte (octets, len);
1990 C_ARGS:
1991 str, len
1992
1993void
1980rxvt_term::tt_write (SV *octets) 1994rxvt_term::tt_write (SV *octets)
1981 INIT: 1995 INIT:
1982 STRLEN len; 1996 STRLEN len;
1983 char *str = SvPVbyte (octets, len); 1997 char *str = SvPVbyte (octets, len);
1984 C_ARGS: 1998 C_ARGS:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines