[core] Update to geometry.hpp 0.5.0

This commit is contained in:
John Firebaugh
2016-05-12 10:15:31 -07:00
parent cd65a43855
commit 9a7b7f6af3
7 changed files with 11 additions and 6 deletions

View File

@@ -76,6 +76,11 @@ public:
};
struct ToValue {
v8::Local<v8::Value> operator()(std::nullptr_t) {
Nan::EscapableHandleScope scope;
return scope.Escape(Nan::Null());
}
v8::Local<v8::Value> operator()(bool t) {
Nan::EscapableHandleScope scope;
return scope.Escape(Nan::New(t));