if (!nativeThis) return JS_FALSE;
InstallRefreshPlugins(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval){  nsInstall *nativeThis =    (nsInstall*)JS_GetInstancePrivate(cx, obj, &InstallClass, argv);  if (!nativeThis)    return JS_FALSE;  // If there's no private data, this must be the prototype, so ignore  if (!nativeThis)  {    *rval = INT_TO_JSVAL(nsInstall::UNEXPECTED_ERROR);  }  else  {    PRBool reloadPages = PR_TRUE;    if (argc >= 1)      reloadPages = JSVAL_TO_BOOLEAN(argv[0]);    *rval = INT_TO_JSVAL(nativeThis->RefreshPlugins(reloadPages));  }  return JS_TRUE;}