diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-07-31 22:32:12 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-07-31 22:32:12 +0100 |
commit | cb2089531d4165786772c5cef17d28dc1a8e28d6 (patch) | |
tree | 8ba52f1dc3751719013938c78bd03055393d0e08 /src/interface-map.h | |
parent | 02ebfefd0fc3d81b59cc15f34033210a6344f430 (diff) | |
download | nsgenbind-cb2089531d4165786772c5cef17d28dc1a8e28d6.tar.gz nsgenbind-cb2089531d4165786772c5cef17d28dc1a8e28d6.tar.bz2 |
ensure nothing is generated for interfaces marked with NoInterfaceObject
Diffstat (limited to 'src/interface-map.h')
-rw-r--r-- | src/interface-map.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/interface-map.h b/src/interface-map.h index e44380a..e07aa19 100644 --- a/src/interface-map.h +++ b/src/interface-map.h @@ -39,6 +39,16 @@ struct interface_map_entry { const char *name; /** interface name */ struct webidl_node *node; /**< AST interface node */ const char *inherit_name; /**< Name of interface inhertited from */ + int inherit_idx; /**< index into map of inherited interface or -1 for + * not in map + */ + int refcount; /**< number of interfacess in map that refer to this + * interface + */ + bool noobject; /**< flag indicating if no interface object should eb + * generated. This allows for interfaces which do not + * generate code. For implements (mixin) interfaces + */ int operationc; /**< number of operations on interface */ struct interface_map_operation_entry *operationv; @@ -49,12 +59,7 @@ struct interface_map_entry { int constantc; /**< number of constants on interface */ struct interface_map_constant_entry *constantv; - int inherit_idx; /**< index into map of inherited interface or -1 for - * not in map - */ - int refcount; /**< number of interfacess in map that refer to this - * interface - */ + struct genbind_node *class; /**< class from binding (if any) */ /* The variables are created and used by the output generation but |