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.26 by root, Tue Jun 5 22:23:07 2012 UTC vs.
Revision 1.29 by root, Tue Jun 30 07:31:24 2020 UTC

49 49
50struct rxvt_perl_interp 50struct rxvt_perl_interp
51{ 51{
52 char **perl_environ; 52 char **perl_environ;
53 53
54 #if 0 // see rxvtperl.xs
54 ~rxvt_perl_interp (); 55 ~rxvt_perl_interp ();
56 #endif
55 57
58 void init ();
56 void init (rxvt_term *term); 59 void init (rxvt_term *term);
60 void eval (const char *str);
57 bool invoke (rxvt_term *term, hook_type htype, ...); 61 bool invoke (rxvt_term *term, hook_type htype, ...);
58 void line_update (rxvt_term *term); 62 void line_update (rxvt_term *term);
59 void selection_finish (rxvt_selection *sel, char *data, unsigned int len); 63 void selection_finish (rxvt_selection *sel, char *data, unsigned int len);
60 void usage (rxvt_term *term, int type); 64 void usage (rxvt_term *term, int type);
61 65
62 enum 66 enum
63 { 67 {
64 RESOURCE_AVAILABLE = 0, 68 RESOURCE_AVAILABLE = 1, // whether the option is valid
65 RESOURCE_BOOLEAN = 1 69 RESOURCE_ARG = 2 // whether the option eats the next arg
66 }; 70 };
67 uint8_t resource (rxvt_term *term, const char *name, bool arg, bool longopt, bool flag, const char *value); 71 uint8_t parse_resource (rxvt_term *term, const char *name, bool arg, bool longopt, bool flag, const char *value);
68}; 72};
69 73
70extern struct rxvt_perl_interp rxvt_perl; 74extern struct rxvt_perl_interp rxvt_perl;
71 75
72#else 76#else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines