Index: gin/converter.h |
diff --git a/gin/converter.h b/gin/converter.h |
index ee029a7f770701be70983cd58767acef5341068a..1ce459e15cc4c4b9e058bde4897eee3a6ad4fbcc 100644 |
--- a/gin/converter.h |
+++ b/gin/converter.h |
@@ -65,6 +65,15 @@ struct GIN_EXPORT Converter<uint64_t> { |
}; |
template<> |
+struct GIN_EXPORT Converter<float> { |
+ static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate, |
+ float val); |
+ static bool FromV8(v8::Isolate* isolate, |
+ v8::Handle<v8::Value> val, |
+ float* out); |
+}; |
+ |
+template<> |
struct GIN_EXPORT Converter<double> { |
static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate, |
double val); |