static void testInterfaceOrTestInterfaceEmptyMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) { TestTypedefs* impl = V8TestTypedefs::toImpl(info.Holder()); TestInterfaceOrTestInterfaceEmpty result; impl->testInterfaceOrTestInterfaceEmptyMethod(result); v8SetReturnValue(info, result); }
static void testInterfaceOrTestInterfaceEmptyMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) { TestTypedefs* impl = V8TestTypedefs::toNative(info.Holder()); bool result0Enabled = false; RefPtr<TestInterfaceImplementation> result0; bool result1Enabled = false; RefPtr<TestInterfaceEmpty> result1; impl->testInterfaceOrTestInterfaceEmptyMethod(result0Enabled, result0, result1Enabled, result1); if (result0Enabled) { v8SetReturnValue(info, result0.release()); return; } if (result1Enabled) { v8SetReturnValue(info, result1.release()); return; } v8SetReturnValueNull(info); }