ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/cfperl.h
(Generate patch)

Comparing deliantra/server/include/cfperl.h (file contents):
Revision 1.33 by root, Mon Dec 11 22:56:57 2006 UTC vs.
Revision 1.34 by root, Mon Dec 11 23:35:37 2006 UTC

77#define RESULT(idx,type) cfperl_result_ ## type (idx) 77#define RESULT(idx,type) cfperl_result_ ## type (idx)
78#define RESULT_DOUBLE(idx) RESULT(idx, DOUBLE) 78#define RESULT_DOUBLE(idx) RESULT(idx, DOUBLE)
79#define RESULT_INT(idx) RESULT(idx, INT) 79#define RESULT_INT(idx) RESULT(idx, INT)
80 80
81bool cfperl_invoke (event_type event, ...); 81bool cfperl_invoke (event_type event, ...);
82int cfperl_result_DOUBLE (int idx); 82double cfperl_result_DOUBLE (int idx);
83int cfperl_result_INT (int idx); 83int cfperl_result_INT (int idx);
84 84
85struct attachable_base 85struct attachable_base
86{ 86{
87 SV *self; 87 SV *self;
88 AV *cb; // CF+ perl self and callback 88 AV *cb; // CF+ perl self and callback

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines