--- rxvt-unicode/src/rxvtperl.h 2006/01/05 01:04:10 1.8 +++ rxvt-unicode/src/rxvtperl.h 2006/01/06 03:40:19 1.10 @@ -6,16 +6,17 @@ #define RXVTPERL_H_ #if ENABLE_PERL +# define SHOULD_INVOKE(htype) rxvt_perl.should_invoke [htype] +# define HOOK_INVOKE(args) rxvt_perl.invoke args #include "rxvt.h" -#define PERL_INVOKE(args) rxvt_perl.invoke args - enum data_type { DT_END, DT_INT, DT_LONG, DT_STRING, + DT_STRING_LEN, DT_USTRING_LEN, DT_XEVENT, }; @@ -36,11 +37,13 @@ void init (); bool invoke (rxvt_term *term, hook_type htype, ...); + void line_update (rxvt_term *term); }; extern struct rxvt_perl_interp rxvt_perl; #else +# define SHOULD_INVOKE(htype) false # define PERL_INVOKE(args) false #endif