summaryrefslogtreecommitdiff
path: root/src/nsgenbind-ast.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-08-05 22:58:05 +0100
committerVincent Sanders <vince@kyllikki.org>2015-08-05 22:58:05 +0100
commitdca5aa6db8f0dbcae283aee21605d8d1a85d7f94 (patch)
tree9c885d3bcedde0fbe557c63d61a385a0097a64d0 /src/nsgenbind-ast.h
parent619dbd53bc4624e3a4e9bb291e61ed358272d009 (diff)
downloadnsgenbind-dca5aa6db8f0dbcae283aee21605d8d1a85d7f94.tar.gz
nsgenbind-dca5aa6db8f0dbcae283aee21605d8d1a85d7f94.tar.bz2
Add ptototype method type to binding
This allows additional cdata to be added to the generated prototype constructor.
Diffstat (limited to 'src/nsgenbind-ast.h')
-rw-r--r--src/nsgenbind-ast.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/nsgenbind-ast.h b/src/nsgenbind-ast.h
index 0b0fcfd..2a384b2 100644
--- a/src/nsgenbind-ast.h
+++ b/src/nsgenbind-ast.h
@@ -45,11 +45,12 @@ enum genbind_type_modifier {
/* binding method types */
enum genbind_method_type {
- GENBIND_METHOD_TYPE_INIT = 0,
- GENBIND_METHOD_TYPE_FINI = 1, /**< */
- GENBIND_METHOD_TYPE_METHOD = 2, /**< */
- GENBIND_METHOD_TYPE_GETTER = 3, /**< */
- GENBIND_METHOD_TYPE_SETTER = 4, /**< */
+ GENBIND_METHOD_TYPE_INIT = 0, /**< binding method is initialiser */
+ GENBIND_METHOD_TYPE_FINI, /**< binding method is finalizer */
+ GENBIND_METHOD_TYPE_METHOD, /**< binding method is a method */
+ GENBIND_METHOD_TYPE_GETTER, /**< binding method is a getter */
+ GENBIND_METHOD_TYPE_SETTER, /**< binding method is a setter */
+ GENBIND_METHOD_TYPE_PROTOTYPE, /**< binding method is a prototype */
};
struct genbind_node;