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.17 by root, Thu Jan 12 01:38:37 2006 UTC vs.
Revision 1.18 by root, Fri Jan 13 04:59:04 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] 9# define SHOULD_INVOKE(htype) perl.should_invoke [htype]
10# define HOOK_INVOKE(args) rxvt_perl.invoke args 10# define HOOK_INVOKE(args) rxvt_perl.invoke args
11 11
12#include "rxvt.h" 12#include "rxvt.h"
13 13
14enum data_type { 14enum data_type {
30 30
31struct rxvt_perl_term 31struct rxvt_perl_term
32{ 32{
33 void *self; 33 void *self;
34 unsigned long grabtime; 34 unsigned long grabtime;
35 uint8_t should_invoke[HOOK_NUM];
35}; 36};
36 37
37struct rxvt_perl_interp 38struct rxvt_perl_interp
38{ 39{
39 char **perl_environ; 40 char **perl_environ;
40 41
41 ~rxvt_perl_interp (); 42 ~rxvt_perl_interp ();
42
43 bool should_invoke[HOOK_NUM];
44 43
45 void init (); 44 void init ();
46 bool invoke (rxvt_term *term, hook_type htype, ...); 45 bool invoke (rxvt_term *term, hook_type htype, ...);
47 void line_update (rxvt_term *term); 46 void line_update (rxvt_term *term);
48}; 47};

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines