if (!nativeThis) return JS_FALSE;
InstallLoadResources(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval){  nsInstall *nativeThis =    (nsInstall*)JS_GetInstancePrivate(cx, obj, &InstallClass, argv);  if (!nativeThis)    return JS_FALSE;  nsAutoString b0;  *rval = JSVAL_NULL;  // If there's no private data, this must be the prototype, so ignore  if (nsnull == nativeThis) {    return JS_TRUE;  }  if (argc >= 1)  {    ConvertJSValToStr(b0, cx, argv[0]);    if (NS_OK != nativeThis->LoadResources(cx, b0, rval))    {      return JS_FALSE;    }  }  else  {    JS_ReportError(cx, "Function LoadResources requires 1 parameter");    return JS_FALSE;  }  return JS_TRUE;}