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.218 by root, Sat Apr 26 20:51:12 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),
1831} 1831}
1832 OUTPUT: 1832 OUTPUT:
1833 RETVAL 1833 RETVAL
1834 1834
1835bool 1835bool
1836rxvt_term::parse_keysym (char *keysym, char *str) 1836rxvt_term::bind_action (char *keysym, char *str)
1837 ALIAS:
1838 parse_keysym = 1
1837 CODE: 1839 CODE:
1838 RETVAL = 0 < THIS->parse_keysym (keysym, str); 1840 RETVAL = 0 < THIS->bind_action (keysym, str);
1839 THIS->keyboard->register_done (); 1841 THIS->keyboard->register_done ();
1840 OUTPUT: 1842 OUTPUT:
1841 RETVAL 1843 RETVAL
1842 1844
1843void 1845void
1844rxvt_term::register_command (int keysym, unsigned int state, SV *str) 1846rxvt_term::register_command (int keysym, unsigned int state, SV *str)
1845 CODE: 1847 CODE:
1846 wchar_t *wstr = sv2wcs (str); 1848 wchar_t *wstr = sv2wcs (str);
1847 THIS->keyboard->register_user_translation (keysym, state, wstr); 1849 THIS->keyboard->register_action (keysym, state, wstr);
1848 free (wstr); 1850 free (wstr);
1849 1851
1850void 1852void
1851rxvt_term::screen_cur (...) 1853rxvt_term::screen_cur (...)
1852 PROTOTYPE: $;$$ 1854 PROTOTYPE: $;$$
1979 THIS->scr_add_lines (wstr, wcslen (wstr)); 1981 THIS->scr_add_lines (wstr, wcslen (wstr));
1980 free (wstr); 1982 free (wstr);
1981} 1983}
1982 1984
1983void 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
1984rxvt_term::tt_write (SV *octets) 1994rxvt_term::tt_write (SV *octets)
1985 INIT: 1995 INIT:
1986 STRLEN len; 1996 STRLEN len;
1987 char *str = SvPVbyte (octets, len); 1997 char *str = SvPVbyte (octets, len);
1988 C_ARGS: 1998 C_ARGS:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines