diff options
author | Vincent Sanders <vince@kyllikki.org> | 2012-11-03 13:49:48 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2012-11-03 13:49:48 +0000 |
commit | ea60a7f1f7f2811bfa14879e345af529e8780e19 (patch) | |
tree | 4e06147e7d5025c016f52f04a45029c8e3c4d13e /src/jsapi-libdom.h | |
parent | 89ee501986c247ddfbad0fb4cfbe4e0f3f486cbb (diff) | |
download | nsgenbind-ea60a7f1f7f2811bfa14879e345af529e8780e19.tar.gz nsgenbind-ea60a7f1f7f2811bfa14879e345af529e8780e19.tar.bz2 |
add global api provision to allow a binding to decare it is a global js object
fix resolver api generation to only emit a function when one is specified
Diffstat (limited to 'src/jsapi-libdom.h')
-rw-r--r-- | src/jsapi-libdom.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jsapi-libdom.h b/src/jsapi-libdom.h index a5db6ec..9d42e4f 100644 --- a/src/jsapi-libdom.h +++ b/src/jsapi-libdom.h @@ -17,6 +17,8 @@ struct binding { const char *interface; /* webidl interface binding is for */ bool has_private; /* true if the binding requires a private structure */ + bool has_resolve; /* true if the binding api requires a resolve */ + bool has_global; /* true if the binding is for a global */ FILE *outfile ; /* output file */ }; |