diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-08-30 09:14:38 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-08-30 09:14:38 +0100 |
commit | 83956295f66576becbf5de8cef915cd0d54f409b (patch) | |
tree | b8040d623ed6d0998ddb23224f364cc1b4be2460 /src/webidl-ast.h | |
parent | d6f41574a18866ebfbb8b61f9afcd0a0de2d40cf (diff) | |
download | nsgenbind-83956295f66576becbf5de8cef915cd0d54f409b.tar.gz nsgenbind-83956295f66576becbf5de8cef915cd0d54f409b.tar.bz2 |
Change dictionary generation to produce C accessors.
This generates routines which correctly handle reading a member from a
dictionary and returning it as the correct c type. Currently the types
"any", "user" and "sequence" remain unhandled.
Diffstat (limited to 'src/webidl-ast.h')
-rw-r--r-- | src/webidl-ast.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/webidl-ast.h b/src/webidl-ast.h index 0872965..9ae2ebb 100644 --- a/src/webidl-ast.h +++ b/src/webidl-ast.h @@ -105,6 +105,8 @@ struct webidl_node *webidl_node_add(struct webidl_node *node, struct webidl_node char *webidl_node_gettext(struct webidl_node *node); struct webidl_node *webidl_node_getnode(struct webidl_node *node); int *webidl_node_getint(struct webidl_node *node); +float *webidl_node_getfloat(struct webidl_node *node); + enum webidl_node_type webidl_node_gettype(struct webidl_node *node); /* node searches */ |