From 213ac4372168d4627185e0dba62a3e7ed4e317d3 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 16 Apr 2014 14:56:33 +0800 Subject: [PATCH] Enable converting void*. --- native_mate/converter.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/native_mate/converter.h b/native_mate/converter.h index 44b7d4a882bd..8f94aa815440 100644 --- a/native_mate/converter.h +++ b/native_mate/converter.h @@ -16,6 +16,13 @@ namespace mate { template struct Converter {}; +template<> +struct Converter { + static v8::Handle ToV8(v8::Isolate* isolate, void* val) { + return v8::Undefined(); + } +}; + template<> struct Converter { static v8::Handle ToV8(v8::Isolate* isolate,