From 8bc392a91daf4cc1a27a8e6777af1a29ed24e3c4 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 22 Jul 2015 13:13:41 +0100 Subject: chnage binding AST to put methds inside class nodes --- src/nsgenbind-ast.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/nsgenbind-ast.h') diff --git a/src/nsgenbind-ast.h b/src/nsgenbind-ast.h index f6800fb..e7215b1 100644 --- a/src/nsgenbind-ast.h +++ b/src/nsgenbind-ast.h @@ -70,6 +70,10 @@ char *genbind_strapp(char *a, char *b); struct genbind_node *genbind_new_node(enum genbind_node_type type, struct genbind_node *l, void *r); struct genbind_node *genbind_node_link(struct genbind_node *tgt, struct genbind_node *src); +struct genbind_node *genbind_node_prepend(struct genbind_node *list, struct genbind_node *inst); + +struct genbind_node *genbind_node_add(struct genbind_node *node, struct genbind_node *list); + /** * Dump the binding AST to file * -- cgit v1.2.3