diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-01-01 15:09:10 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-05-16 14:38:56 +0100 |
commit | 0d89adf43b0c3b85d698e333c157e7589f51beb7 (patch) | |
tree | c601e182fd251787a8e3ed00e8f0769abf0e38ab /src/jsapi-libdom.h | |
parent | ed92dd097848f4628abfa3a8cc8be802a996272d (diff) | |
download | nsgenbind-0d89adf43b0c3b85d698e333c157e7589f51beb7.tar.gz nsgenbind-0d89adf43b0c3b85d698e333c157e7589f51beb7.tar.bz2 |
rename jsapi method generation to be named function rather than oddly named webidl operator nomenclature
Diffstat (limited to 'src/jsapi-libdom.h')
-rw-r--r-- | src/jsapi-libdom.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/jsapi-libdom.h b/src/jsapi-libdom.h index bdf4bec..13a5276 100644 --- a/src/jsapi-libdom.h +++ b/src/jsapi-libdom.h @@ -18,6 +18,9 @@ struct binding_interface { const char *inherit_name; /* name of interface this inherits from */ int inherit_idx; /* index into binding map of inherited interface or -1 for not in map */ int refcount; /* number of entries in map that refer to this interface */ + int own_properties; /* the number of properties the interface has */ + int own_functions; /* the number of functions the interface has */ + }; struct binding { @@ -76,7 +79,7 @@ int output_function_spec(struct binding *binding); * @param binding The binding information * @param interface The interface to generate operator bodys for */ -int output_operator_body(struct binding *binding, const char *interface); +int output_function_body(struct binding *binding, const char *interface); /** generate property tinyid enum */ int output_property_tinyid(struct binding *binding); |