static duk_ret_t Light_IsTemporary(duk_context* ctx) { Light* thisObj = GetThisWeakObject<Light>(ctx); bool ret = thisObj->IsTemporary(); duk_push_boolean(ctx, ret); return 1; }