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.227 by sf-exg, Wed Sep 3 18:47:16 2014 UTC vs.
Revision 1.230 by sf-exg, Wed Oct 29 09:05:51 2014 UTC

1307 OUTPUT: RETVAL 1307 OUTPUT: RETVAL
1308 1308
1309int 1309int
1310rxvt_term::XKeycodeToKeysym (int code, int index) 1310rxvt_term::XKeycodeToKeysym (int code, int index)
1311 CODE: 1311 CODE:
1312 RETVAL = XKeycodeToKeysym (THIS->dpy, code, index); 1312 RETVAL = rxvt_XKeycodeToKeysym (THIS->dpy, code, index);
1313 OUTPUT: RETVAL 1313 OUTPUT: RETVAL
1314 1314
1315int 1315int
1316rxvt_term::strwidth (SV *str) 1316rxvt_term::strwidth (SV *str)
1317 CODE: 1317 CODE:
1726 *r++ = NOCHAR; 1726 *r++ = NOCHAR;
1727 } 1727 }
1728 1728
1729 rxvt_pop_locale (); 1729 rxvt_pop_locale ();
1730 1730
1731 free (wstr);
1731 RETVAL = wcs2sv (rstr, r - rstr); 1732 RETVAL = wcs2sv (rstr, r - rstr);
1732} 1733}
1733 OUTPUT: 1734 OUTPUT:
1734 RETVAL 1735 RETVAL
1735 1736
1759 else if (IS_COMPOSE (*s)) 1760 else if (IS_COMPOSE (*s))
1760 r += rxvt_composite.expand (*s, r); 1761 r += rxvt_composite.expand (*s, r);
1761 else 1762 else
1762 *r++ = *s; 1763 *r++ = *s;
1763 1764
1765 free (wstr);
1764 RETVAL = wcs2sv (rstr, r - rstr); 1766 RETVAL = wcs2sv (rstr, r - rstr);
1765} 1767}
1766 OUTPUT: 1768 OUTPUT:
1767 RETVAL 1769 RETVAL
1768 1770
1868 THIS->keyboard->register_done (); 1870 THIS->keyboard->register_done ();
1869 OUTPUT: 1871 OUTPUT:
1870 RETVAL 1872 RETVAL
1871 1873
1872void 1874void
1875rxvt_term::register_command (int keysym, unsigned int state, SV *str)
1876 CODE:
1877 wchar_t *wstr = sv2wcs (str);
1878 THIS->keyboard->register_action (keysym, state, wstr);
1879 free (wstr);
1880
1881void
1873rxvt_term::screen_cur (...) 1882rxvt_term::screen_cur (...)
1874 PROTOTYPE: $;$$ 1883 PROTOTYPE: $;$$
1875 ALIAS: 1884 ALIAS:
1876 screen_cur = 0 1885 screen_cur = 0
1877 selection_beg = 1 1886 selection_beg = 1

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines