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.219 by sf-exg, Fri May 2 20:34:24 2014 UTC vs.
Revision 1.222 by root, Sat May 17 15:25:04 2014 UTC

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), 798 const_iv (HOOK_INIT),
799 const_iv (HOOK_DESTROY), 799 const_iv (HOOK_DESTROY),
800 const_iv (HOOK_KEYBOARD_DISPATCH), 800 const_iv (HOOK_ACTION),
801 801
802 const_iv (NUM_RESOURCES), 802 const_iv (NUM_RESOURCES),
803 const_iv (DEFAULT_RSTYLE), 803 const_iv (DEFAULT_RSTYLE),
804 const_iv (OVERLAY_RSTYLE), 804 const_iv (OVERLAY_RSTYLE),
805 const_iv (Color_Bits), 805 const_iv (Color_Bits),
1844 1844
1845void 1845void
1846rxvt_term::register_command (int keysym, unsigned int state, SV *str) 1846rxvt_term::register_command (int keysym, unsigned int state, SV *str)
1847 CODE: 1847 CODE:
1848 wchar_t *wstr = sv2wcs (str); 1848 wchar_t *wstr = sv2wcs (str);
1849 THIS->keyboard->register_user_translation (keysym, state, wstr); 1849 THIS->keyboard->register_action (keysym, state, wstr);
1850 free (wstr); 1850 free (wstr);
1851 1851
1852void 1852void
1853rxvt_term::screen_cur (...) 1853rxvt_term::screen_cur (...)
1854 PROTOTYPE: $;$$ 1854 PROTOTYPE: $;$$
1981 THIS->scr_add_lines (wstr, wcslen (wstr)); 1981 THIS->scr_add_lines (wstr, wcslen (wstr));
1982 free (wstr); 1982 free (wstr);
1983} 1983}
1984 1984
1985void 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
1986rxvt_term::tt_write (SV *octets) 1994rxvt_term::tt_write (SV *octets)
1987 INIT: 1995 INIT:
1988 STRLEN len; 1996 STRLEN len;
1989 char *str = SvPVbyte (octets, len); 1997 char *str = SvPVbyte (octets, len);
1990 C_ARGS: 1998 C_ARGS:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines