JS_ReportError(cx, "can't lock memory");
JS_ReportErrorNumber(cx, NULL, JSMSG_CANT_LOCK);
JS_LockGCThing(JSContext *cx, void *thing){    JSBool ok;    CHECK_REQUEST(cx);    ok = js_LockGCThing(cx, thing);    if (!ok)	JS_ReportError(cx, "can't lock memory");    return ok;}