Bug 583232 followup -- actually add the functions to jsapi.h. r=gal
authorBlake Kaplan <mrbkap@gmail.com>
Thu, 16 Sep 2010 11:32:18 -0700
changeset 54399 9eaff50687a3e1b31b565536648d5fc5c8317839
parent 54398 596e0ba1477e5d23ec77f0756f5b4ff1017d6c33
child 54400 7e47ca7dd0a2cf5702b65ee050a99a689b283357
push idunknown
push userunknown
push dateunknown
reviewersgal
bugs583232
milestone2.0b6pre
Bug 583232 followup -- actually add the functions to jsapi.h. r=gal
js/src/jsapi.h
--- a/js/src/jsapi.h
+++ b/js/src/jsapi.h
@@ -947,20 +947,20 @@ JS_LeaveCrossCompartmentCall(JSCrossComp
 
 extern JS_PUBLIC_API(void *)
 JS_SetCompartmentPrivate(JSContext *cx, JSCompartment *compartment, void *data);
 
 extern JS_PUBLIC_API(void *)
 JS_GetCompartmentPrivate(JSContext *cx, JSCompartment *compartment);
 
 extern JS_PUBLIC_API(JSBool)
-JS_RewrapObject(JSContext *cx, JSObject **objp);
+JS_WrapObject(JSContext *cx, JSObject **objp);
 
 extern JS_PUBLIC_API(JSBool)
-JS_RewrapValue(JSContext *cx, jsval *p);
+JS_WrapValue(JSContext *cx, jsval *vp);
 
 extern JS_FRIEND_API(JSCompartment *)
 js_SwitchToCompartment(JSContext *cx, JSCompartment *compartment);
 
 extern JS_FRIEND_API(JSCompartment *)
 js_SwitchToObjectCompartment(JSContext *cx, JSObject *obj);
 
 #ifdef __cplusplus