diff options
Diffstat (limited to 'tools/build/v2/engine/native.h')
-rw-r--r-- | tools/build/v2/engine/native.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/tools/build/v2/engine/native.h b/tools/build/v2/engine/native.h index 3fc710b9c6..cdd63c844b 100644 --- a/tools/build/v2/engine/native.h +++ b/tools/build/v2/engine/native.h @@ -5,13 +5,16 @@ #ifndef NATIVE_H_VP_2003_12_09 #define NATIVE_H_VP_2003_12_09 +#include "lists.h" +#include "object.h" +#include "frames.h" +#include "function.h" #include "rules.h" struct native_rule_t { - char* name; - argument_list* arguments; - PARSE* procedure; + OBJECT * name; + FUNCTION * procedure; /* Version of the interface that the native rule provides. It's possible that we want to change the set parameter for existing native rule. In that case, version number @@ -26,8 +29,8 @@ struct native_rule_t /* MSVC debugger gets confused unless this is provided */ typedef struct native_rule_t native_rule_t ; -void declare_native_rule(char* module, char* rule, char** args, - LIST*(*f)(PARSE*, FRAME*), int version); +void declare_native_rule( const char * module, const char * rule, const char * * args, + LIST * (*f)( FRAME *, int ), int version ); |