… | |
… | |
501 | |
501 | |
502 | PROTOTYPES: ENABLE |
502 | PROTOTYPES: ENABLE |
503 | |
503 | |
504 | BOOT: |
504 | BOOT: |
505 | { |
505 | { |
506 | # define export_const(name) newCONSTSUB (gv_stashpv ("urxvt", 1), #name, newSViv (name)); |
506 | # define export_const(name) newCONSTSUB (gv_stashpv ("urxvt", 1), # name, newSViv (name)); |
507 | AV *hookname = get_av ("urxvt::HOOKNAME", 1); |
507 | AV *hookname = get_av ("urxvt::HOOKNAME", 1); |
508 | # define def(sym) av_store (hookname, HOOK_ ## sym, newSVpv (# sym, 0)); |
508 | # define def(sym) av_store (hookname, HOOK_ ## sym, newSVpv (# sym, 0)); |
509 | # include "hookinc.h" |
509 | # include "hookinc.h" |
510 | # undef def |
510 | # undef def |
511 | |
511 | |
… | |
… | |
911 | rxvt_term::tt_write (SV *octets) |
911 | rxvt_term::tt_write (SV *octets) |
912 | INIT: |
912 | INIT: |
913 | STRLEN len; |
913 | STRLEN len; |
914 | char *str = SvPVbyte (octets, len); |
914 | char *str = SvPVbyte (octets, len); |
915 | C_ARGS: |
915 | C_ARGS: |
916 | (unsigned char *)str, len |
916 | str, len |
917 | |
917 | |
918 | SV * |
918 | SV * |
919 | rxvt_term::overlay (int x, int y, int w, int h, int rstyle = OVERLAY_RSTYLE, int border = 2) |
919 | rxvt_term::overlay (int x, int y, int w, int h, int rstyle = OVERLAY_RSTYLE, int border = 2) |
920 | CODE: |
920 | CODE: |
921 | { |
921 | { |