PRBool nativeRet = PR_FALSE;
InstallTriggerGlobalUpdateEnabled(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval){  nsIDOMInstallTriggerGlobal *nativeThis = (nsIDOMInstallTriggerGlobal*)JS_GetPrivate(cx, obj);  PRBool nativeRet = PR_FALSE;  *rval = JSVAL_FALSE;  if (nsnull == nativeThis  &&  (JS_FALSE == CreateNativeObject(cx, obj, &nativeThis)) )    return JS_TRUE;   nativeThis->UpdateEnabled(&nativeRet);   *rval = BOOLEAN_TO_JSVAL(nativeRet);   return JS_TRUE;}