if (!nativeThis) return JS_FALSE;
InstallAbortInstall(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval){  nsInstall *nativeThis =    (nsInstall*)JS_GetInstancePrivate(cx, obj, &InstallClass, argv);  if (!nativeThis)    return JS_FALSE;  int32   b0;  *rval = JSVAL_VOID;  // If there's no private data, this must be the prototype, so ignore  if (nsnull == nativeThis) {    return JS_TRUE;  }  if(argc >= 1)  {    //  public int AbortInstall(Number aErrorNumber);    if(JS_ValueToInt32(cx, argv[0], &b0))    {      nativeThis->AbortInstall(b0);    }    else    {      JS_ReportError(cx, "Parameter must be a number");    }  }  else if(argc == 0)  {    //  public int AbortInstall(void);    nativeThis->AbortInstall(nsInstall::INSTALL_CANCELLED);  }  return JS_TRUE;}