diff options
author | Vincent Sanders <vince@kyllikki.org> | 2013-01-22 18:56:01 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2013-01-22 18:56:01 +0000 |
commit | eb174c9f572f45695f3da6fe1aff37d1c793e9fa (patch) | |
tree | 26e8764172ad2981207b4b9d930bb8f2bba7443b /src/jsapi-libdom.c | |
parent | dfc6f6b676838beee317f787041c25d6d8a486b3 (diff) | |
download | nsgenbind-eb174c9f572f45695f3da6fe1aff37d1c793e9fa.tar.gz nsgenbind-eb174c9f572f45695f3da6fe1aff37d1c793e9fa.tar.bz2 |
change property mactro usage to reflect spidermonkey calling types
Diffstat (limited to 'src/jsapi-libdom.c')
-rw-r--r-- | src/jsapi-libdom.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jsapi-libdom.c b/src/jsapi-libdom.c index c21f63e..29994b6 100644 --- a/src/jsapi-libdom.c +++ b/src/jsapi-libdom.c @@ -517,25 +517,25 @@ output_jsclass(struct binding *binding) /* forward declare add property */ if (binding->addproperty != NULL) { fprintf(binding->outfile, - "static JSBool JSAPI_PROP_DEFAULT(add, JSContext *cx, JSObject *obj, jsval *vp);\n\n"); + "static JSBool JSAPI_PROP(add, JSContext *cx, JSObject *obj, jsval *vp);\n\n"); } /* forward declare del property */ if (binding->delproperty != NULL) { fprintf(binding->outfile, - "static JSBool JSAPI_PROP_DEFAULT(del, JSContext *cx, JSObject *obj, jsval *vp);\n\n"); + "static JSBool JSAPI_PROP(del, JSContext *cx, JSObject *obj, jsval *vp);\n\n"); } /* forward declare get property */ if (binding->getproperty != NULL) { fprintf(binding->outfile, - "static JSBool JSAPI_PROP_DEFAULT(get, JSContext *cx, JSObject *obj, jsval *vp);\n\n"); + "static JSBool JSAPI_PROP(get, JSContext *cx, JSObject *obj, jsval *vp);\n\n"); } /* forward declare set property */ if (binding->setproperty != NULL) { fprintf(binding->outfile, - "static JSBool JSAPI_PROP_DEFAULT(set, JSContext *cx, JSObject *obj, jsval *vp);\n\n"); + "static JSBool JSAPI_STRICTPROP(set, JSContext *cx, JSObject *obj, jsval *vp);\n\n"); } /* forward declare the enumerate */ |