*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0b6dc00640
commit
5b006b5fa9
1 changed files with 9 additions and 3 deletions
|
|
@ -191,10 +191,16 @@ DOH *SwigType_get_contents(DOH *t);
|
|||
|
||||
/* --- Parse tree support --- */
|
||||
|
||||
typedef struct {
|
||||
char *name;
|
||||
int (*action)(DOH *obj, void *clientdata);
|
||||
} SwigRule;
|
||||
|
||||
extern void Swig_dump_tags(DOH *obj, DOH *root);
|
||||
extern void Swig_emit_rules(DOH *ruleset, DOH *context, DOH *node,
|
||||
int (*actionhandler)(DOH *ruleset, DOH *context, DOH *node, DOH *action));
|
||||
extern DOH *Swig_match_rule(DOH *ruleset, DOH *nodelist);
|
||||
extern void Swig_add_rule(DOHString_or_char *, int (*action)(DOH *, void *));
|
||||
extern void Swig_add_rules(SwigRule ruleset[]);
|
||||
extern void Swig_clear_rules();
|
||||
extern int Swig_emit(DOH *obj, void *clientdata);
|
||||
|
||||
/* --- Misc --- */
|
||||
extern char *Swig_copy_string(const char *c);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue