From eb174c9f572f45695f3da6fe1aff37d1c793e9fa Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 22 Jan 2013 18:56:01 +0000 Subject: change property mactro usage to reflect spidermonkey calling types --- src/jsapi-libdom.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/jsapi-libdom.c') 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 */ -- cgit v1.2.3