summaryrefslogtreecommitdiff
path: root/src/webidl-ast.h
diff options
context:
space:
mode:
authorVincent Sanders <vincent.sanders@collabora.co.uk>2012-09-07 17:25:02 +0100
committerVincent Sanders <vincent.sanders@collabora.co.uk>2012-09-07 17:25:02 +0100
commit53a218f08e4a0ab7a2042b774a871eb93f17c90f (patch)
tree6549dc1aa6dd9ecade7eb3483a4222d3e37778b1 /src/webidl-ast.h
parent7ba968e4c33d3a05ff9b23b8e593b400e34a4cad (diff)
downloadnsgenbind-53a218f08e4a0ab7a2042b774a871eb93f17c90f.tar.gz
nsgenbind-53a218f08e4a0ab7a2042b774a871eb93f17c90f.tar.bz2
add copyright and licence notices
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