Add converter for LPARAM
This commit is contained in:
parent
079796de26
commit
5fd310c75f
1 changed files with 8 additions and 0 deletions
|
@ -42,6 +42,14 @@ struct Converter<atom::TaskbarHost::ThumbarButton> {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template<>
|
||||||
|
struct Converter<LPARAM> {
|
||||||
|
static v8::Local<v8::Value> ToV8(v8::Isolate* isolate,
|
||||||
|
LPARAM val) {
|
||||||
|
return ConvertToV8(isolate, static_cast<int64_t>(val));
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
} // namespace mate
|
} // namespace mate
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue