summaryrefslogtreecommitdiff
path: root/src/webidl-ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/webidl-ast.h')
-rw-r--r--src/webidl-ast.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/webidl-ast.h b/src/webidl-ast.h
index f49268a..5dfd2a8 100644
--- a/src/webidl-ast.h
+++ b/src/webidl-ast.h
@@ -1,3 +1,14 @@
+/* Web IDL AST interface
+ *
+ * This file is part of nsgenjsbind.
+ * Licensed under the MIT License,
+ * http://www.opensource.org/licenses/mit-license.php
+ * Copyright 2012 Vincent Sanders <vince@netsurf-browser.org>
+ */
+
+#ifndef genjsbind_webidl_ast_h
+#define genjsbind_webidl_ast_h
+
enum webidl_node_type {
WEBIDL_NODE_TYPE_ROOT,
WEBIDL_NODE_TYPE_INTERFACE,
@@ -28,3 +39,5 @@ extern struct webidl_node *webidl_root;
int webidl_parsefile(char *filename);
struct webidl_node *webidl_new_node(enum webidl_node_type type);
+
+#endif