summaryrefslogtreecommitdiff
path: root/src/jsapi-libdom-property.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2013-01-22 18:56:01 +0000
committerVincent Sanders <vince@kyllikki.org>2013-01-22 18:56:01 +0000
commiteb174c9f572f45695f3da6fe1aff37d1c793e9fa (patch)
tree26e8764172ad2981207b4b9d930bb8f2bba7443b /src/jsapi-libdom-property.c
parentdfc6f6b676838beee317f787041c25d6d8a486b3 (diff)
downloadnsgenbind-eb174c9f572f45695f3da6fe1aff37d1c793e9fa.tar.gz
nsgenbind-eb174c9f572f45695f3da6fe1aff37d1c793e9fa.tar.bz2
change property mactro usage to reflect spidermonkey calling types
Diffstat (limited to 'src/jsapi-libdom-property.c')
-rw-r--r--src/jsapi-libdom-property.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jsapi-libdom-property.c b/src/jsapi-libdom-property.c
index 6bb695a..ae1aed3 100644
--- a/src/jsapi-libdom-property.c
+++ b/src/jsapi-libdom-property.c
@@ -698,7 +698,7 @@ static int output_property_getter(struct binding *binding,
struct genbind_node *property_node;
fprintf(binding->outfile,
- "static JSBool JSAPI_PROP_GETTER(%s, JSContext *cx, JSObject *obj, jsval *vp)\n"
+ "static JSBool JSAPI_PROP(%s_get, JSContext *cx, JSObject *obj, jsval *vp)\n"
"{\n",
ident);
@@ -770,7 +770,7 @@ static int output_property_setter(struct binding *binding,
fprintf(binding->outfile,
- "static JSBool JSAPI_PROP_SETTER(%s, JSContext *cx, JSObject *obj, jsval *vp)\n",
+ "static JSBool JSAPI_STRICTPROP(%s_set, JSContext *cx, JSObject *obj, jsval *vp)\n",
ident);
fprintf(binding->outfile,
@@ -913,7 +913,7 @@ output_property_type_setter(struct binding *binding,
fprintf(binding->outfile,
"static JSBool\n"
- "JSAPI_PROP_SETTER(%s, JSContext *cx, JSObject *obj, jsval *vp)\n"
+ "JSAPI_STRICTPROP(%s_set, JSContext *cx, JSObject *obj, jsval *vp)\n"
"{\n",
type);
@@ -950,7 +950,7 @@ static int output_property_type_getter(struct binding *binding, struct genbind_n
node = node;/* currently unused */
fprintf(binding->outfile,
- "static JSBool JSAPI_PROP_GETTER(%s, JSContext *cx, JSObject *obj, jsval *vp)\n"
+ "static JSBool JSAPI_PROP(%s_get, JSContext *cx, JSObject *obj, jsval *vp)\n"
"{\n",
type);