--- rxvt-unicode/src/rxvtperl.h 2006/01/05 01:04:10 1.8 +++ rxvt-unicode/src/rxvtperl.h 2006/01/06 01:16:58 1.9 @@ -6,11 +6,11 @@ #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, @@ -36,11 +36,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