summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-11-27 21:56:22 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2016-11-27 21:56:22 (GMT)
commit4486feb85d51473763aeefe4a7a46e1992336bf6 (patch)
tree877ebfef69af50e14b8d31e11900f0dfc368849a
parent3b3b926d7fb92361b1e8eed2efb351c32cb7bfaa (diff)
downloadnsgenbind-4486feb85d51473763aeefe4a7a46e1992336bf6.tar.gz
nsgenbind-4486feb85d51473763aeefe4a7a46e1992336bf6.tar.bz2
remove unused node set API
-rw-r--r--src/webidl-ast.c6
-rw-r--r--src/webidl-ast.h2
2 files changed, 0 insertions, 8 deletions
diff --git a/src/webidl-ast.c b/src/webidl-ast.c
index a1133e3..154855d 100644
--- a/src/webidl-ast.c
+++ b/src/webidl-ast.c
@@ -147,12 +147,6 @@ webidl_new_number_node(enum webidl_node_type type,
return nn;
}
-void
-webidl_node_set(struct webidl_node *node, enum webidl_node_type type, void *r)
-{
- node->type = type;
- node->r.value = r;
-}
int
webidl_node_for_each_type(struct webidl_node *node,
diff --git a/src/webidl-ast.h b/src/webidl-ast.h
index fad070b..5dec239 100644
--- a/src/webidl-ast.h
+++ b/src/webidl-ast.h
@@ -103,8 +103,6 @@ struct webidl_node *webidl_node_new(enum webidl_node_type, struct webidl_node *l
struct webidl_node *webidl_new_number_node(enum webidl_node_type type, struct webidl_node *l, int number);
-void webidl_node_set(struct webidl_node *node, enum webidl_node_type type, void *r);
-
struct webidl_node *webidl_node_prepend(struct webidl_node *list, struct webidl_node *node);
struct webidl_node *webidl_node_append(struct webidl_node *list, struct webidl_node *node);