Enable converting void*.
This commit is contained in:
parent
d0bf1a842f
commit
213ac43721
1 changed files with 7 additions and 0 deletions
|
@ -16,6 +16,13 @@ namespace mate {
|
|||
template<typename T, typename Enable = void>
|
||||
struct Converter {};
|
||||
|
||||
template<>
|
||||
struct Converter<void*> {
|
||||
static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate, void* val) {
|
||||
return v8::Undefined();
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct Converter<bool> {
|
||||
static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue