mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add converter for LPARAM
This commit is contained in:
@@ -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
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user