| Index: gin/function_template.h.pump
|
| diff --git a/gin/function_template.h.pump b/gin/function_template.h.pump
|
| index 4870faaccf72731e07b81df2a36e934cd20e6dec..b074bdefd5df05c4598a38c5f360ddccdc88e691 100644
|
| --- a/gin/function_template.h.pump
|
| +++ b/gin/function_template.h.pump
|
| @@ -140,6 +140,11 @@ inline bool GetNextArgument(Arguments* args, int create_flags, bool is_first,
|
| *result = *args;
|
| return true;
|
| }
|
| +inline bool GetNextArgument(Arguments* args, int create_flags, bool is_first,
|
| + Arguments** result) {
|
| + *result = args;
|
| + return true;
|
| +}
|
|
|
| // It's common for clients to just need the isolate, so we make that easy.
|
| inline bool GetNextArgument(Arguments* args, int create_flags,
|
| @@ -205,6 +210,7 @@ v8::Local<v8::FunctionTemplate> CreateFunctionTemplate(
|
| gin::Handle<HolderT> holder = CreateHandle(
|
| isolate, new HolderT(callback, callback_flags));
|
| return v8::FunctionTemplate::New(
|
| + isolate,
|
| &internal::Dispatcher<Sig>::DispatchToCallback,
|
| ConvertToV8<internal::CallbackHolderBase*>(isolate, holder.get()));
|
| }
|
|
|