Line | |
---|
1 | /* Copyright David Abrahams 2003. Distributed under the Boost */ |
---|
2 | /* Software License, Version 1.0. (See accompanying */ |
---|
3 | /* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ |
---|
4 | |
---|
5 | #ifndef NATIVE_H_VP_2003_12_09 |
---|
6 | #define NATIVE_H_VP_2003_12_09 |
---|
7 | |
---|
8 | #include "rules.h" |
---|
9 | |
---|
10 | struct native_rule_t |
---|
11 | { |
---|
12 | char* name; |
---|
13 | argument_list* arguments; |
---|
14 | PARSE* procedure; |
---|
15 | }; |
---|
16 | |
---|
17 | /* MSVC debugger gets confused unless this is provided */ |
---|
18 | typedef struct native_rule_t native_rule_t ; |
---|
19 | |
---|
20 | void declare_native_rule(char* module, char* rule, char** args, |
---|
21 | LIST*(*f)(PARSE*, FRAME*)); |
---|
22 | |
---|
23 | |
---|
24 | |
---|
25 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.