… | |
… | |
1027 | for (civ = const_iv + ecb_array_length (const_iv); civ > const_iv; civ--) |
1027 | for (civ = const_iv + ecb_array_length (const_iv); civ > const_iv; civ--) |
1028 | newCONSTSUB (stash, (char *)civ[-1].name, newSViv (civ[-1].iv)); |
1028 | newCONSTSUB (stash, (char *)civ[-1].name, newSViv (civ[-1].iv)); |
1029 | } |
1029 | } |
1030 | |
1030 | |
1031 | void |
1031 | void |
1032 | log (const char *msg) |
1032 | log (utf8_string msg) |
1033 | CODE: |
1033 | CODE: |
1034 | rxvt_log ("%s", msg); |
1034 | rxvt_log ("%s", msg); |
1035 | |
1035 | |
1036 | void |
1036 | void |
1037 | warn (const char *msg) |
1037 | warn (utf8_string msg) |
1038 | CODE: |
1038 | CODE: |
1039 | rxvt_warn ("%s", msg); |
1039 | rxvt_warn ("%s", msg); |
1040 | |
1040 | |
1041 | void |
1041 | void |
1042 | fatal (const char *msg) |
1042 | fatal (utf8_string msg) |
1043 | CODE: |
1043 | CODE: |
1044 | rxvt_fatal ("%s", msg); |
1044 | rxvt_fatal ("%s", msg); |
1045 | |
1045 | |
1046 | void |
1046 | void |
1047 | _exit (int status) |
1047 | _exit (int status) |
… | |
… | |
1287 | rxvt_term::ungrab () |
1287 | rxvt_term::ungrab () |
1288 | CODE: |
1288 | CODE: |
1289 | ungrab (THIS); |
1289 | ungrab (THIS); |
1290 | |
1290 | |
1291 | int |
1291 | int |
1292 | rxvt_term::XStringToKeysym (char *string) |
1292 | rxvt_term::XStringToKeysym (octet_string string) |
1293 | CODE: |
1293 | CODE: |
1294 | RETVAL = XStringToKeysym (string); |
1294 | RETVAL = XStringToKeysym (string); |
1295 | OUTPUT: RETVAL |
1295 | OUTPUT: RETVAL |
1296 | |
1296 | |
1297 | char * |
1297 | char * |
… | |
… | |
1767 | } |
1767 | } |
1768 | OUTPUT: |
1768 | OUTPUT: |
1769 | RETVAL |
1769 | RETVAL |
1770 | |
1770 | |
1771 | void |
1771 | void |
1772 | rxvt_term::_resource (char *name, int index, SV *newval = 0) |
1772 | rxvt_term::_resource (octet_string name, int index, SV *newval = 0) |
1773 | PPCODE: |
1773 | PPCODE: |
1774 | { |
1774 | { |
1775 | static const struct resval { const char *name; int value; } *rs, rslist [] = { |
1775 | static const struct resval { const char *name; int value; } *rs, rslist [] = { |
1776 | # define def(name) { # name, Rs_ ## name }, |
1776 | # define def(name) { # name, Rs_ ## name }, |
1777 | # define reserve(name,count) |
1777 | # define reserve(name,count) |
… | |
… | |
1815 | THIS->rs [index] = 0; |
1815 | THIS->rs [index] = 0; |
1816 | } |
1816 | } |
1817 | } |
1817 | } |
1818 | |
1818 | |
1819 | const char * |
1819 | const char * |
1820 | rxvt_term::x_resource (const char *name) |
1820 | rxvt_term::x_resource (octet_string name) |
1821 | |
1821 | |
1822 | bool |
1822 | bool |
1823 | rxvt_term::option (U8 optval, int set = -1) |
1823 | rxvt_term::option (U8 optval, int set = -1) |
1824 | CODE: |
1824 | CODE: |
1825 | { |
1825 | { |
… | |
… | |
1860 | } |
1860 | } |
1861 | OUTPUT: |
1861 | OUTPUT: |
1862 | RETVAL |
1862 | RETVAL |
1863 | |
1863 | |
1864 | bool |
1864 | bool |
1865 | rxvt_term::bind_action (char *keysym, char *str) |
1865 | rxvt_term::bind_action (octet_string keysym, utf8_string action) |
1866 | ALIAS: |
1866 | ALIAS: |
1867 | parse_keysym = 1 |
1867 | parse_keysym = 1 |
1868 | CODE: |
1868 | CODE: |
1869 | RETVAL = 0 < THIS->bind_action (keysym, str); |
1869 | RETVAL = 0 < THIS->bind_action (keysym, action); |
1870 | THIS->keyboard->register_done (); |
1870 | THIS->keyboard->register_done (); |
1871 | OUTPUT: |
1871 | OUTPUT: |
1872 | RETVAL |
1872 | RETVAL |
1873 | |
1873 | |
1874 | void |
1874 | void |