Index: src/api.h |
diff --git a/src/api.h b/src/api.h |
index e64e960ecff9e72db8d19118717e2cd6fbe98d01..3d1c69cb18662069fb385a2fdd7e02ba6fa26b7e 100644 |
--- a/src/api.h |
+++ b/src/api.h |
@@ -292,6 +292,11 @@ OPEN_HANDLE_LIST(DECLARE_OPEN_HANDLE) |
v8::Persistent<T>* persistent) { |
return OpenPersistent(*persistent); |
} |
+ |
+ template <class From, class To> |
+ static inline v8::internal::Handle<To> OpenHandle(v8::Local<From> handle) { |
+ return OpenHandle(*handle); |
+ } |
}; |