ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtperl.h
(Generate patch)

Comparing rxvt-unicode/src/rxvtperl.h (file contents):
Revision 1.8 by root, Thu Jan 5 01:04:10 2006 UTC vs.
Revision 1.9 by root, Fri Jan 6 01:16:58 2006 UTC

4 4
5#ifndef RXVTPERL_H_ 5#ifndef RXVTPERL_H_
6#define RXVTPERL_H_ 6#define RXVTPERL_H_
7 7
8#if ENABLE_PERL 8#if ENABLE_PERL
9# define SHOULD_INVOKE(htype) rxvt_perl.should_invoke [htype]
10# define HOOK_INVOKE(args) rxvt_perl.invoke args
9 11
10#include "rxvt.h" 12#include "rxvt.h"
11
12#define PERL_INVOKE(args) rxvt_perl.invoke args
13 13
14enum data_type { 14enum data_type {
15 DT_END, 15 DT_END,
16 DT_INT, 16 DT_INT,
17 DT_LONG, 17 DT_LONG,
34 34
35 bool should_invoke[HOOK_NUM]; 35 bool should_invoke[HOOK_NUM];
36 36
37 void init (); 37 void init ();
38 bool invoke (rxvt_term *term, hook_type htype, ...); 38 bool invoke (rxvt_term *term, hook_type htype, ...);
39 void line_update (rxvt_term *term);
39}; 40};
40 41
41extern struct rxvt_perl_interp rxvt_perl; 42extern struct rxvt_perl_interp rxvt_perl;
42 43
43#else 44#else
45# define SHOULD_INVOKE(htype) false
44# define PERL_INVOKE(args) false 46# define PERL_INVOKE(args) false
45#endif 47#endif
46 48
47#endif 49#endif
48 50

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines