Index: gin/converter.h |
diff --git a/gin/converter.h b/gin/converter.h |
index 551849bb07c6adf8aa1b1a9ed81741d3f33cd8e7..33af4522cc1e751ac69e526e4faee9377492df11 100644 |
--- a/gin/converter.h |
+++ b/gin/converter.h |
@@ -87,6 +87,22 @@ struct Converter<v8::Handle<v8::Object> > { |
v8::Handle<v8::Object>* out); |
}; |
+template<> |
+struct Converter<v8::Handle<v8::External> > { |
+ static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate, |
+ v8::Handle<v8::External> val); |
+ static bool FromV8(v8::Handle<v8::Value> val, |
+ v8::Handle<v8::External>* out); |
+}; |
+ |
+template<> |
+struct Converter<v8::Handle<v8::Value> > { |
+ static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate, |
+ v8::Handle<v8::Value> val); |
+ static bool FromV8(v8::Handle<v8::Value> val, |
+ v8::Handle<v8::Value>* out); |
+}; |
+ |
template<typename T> |
struct Converter<std::vector<T> > { |
static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate, |