Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 8ab362ae205e76a19b436dc8740455da0d75b7ff..76ff61f04fc67d3cf74815011ee7d41ee6fbf6a0 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -2975,6 +2975,10 @@ void ValueSerializer::WriteUint64(uint64_t value) { |
private_->serializer.WriteUint64(value); |
} |
+void ValueSerializer::WriteDouble(double value) { |
+ private_->serializer.WriteDouble(value); |
+} |
+ |
void ValueSerializer::WriteRawBytes(const void* source, size_t length) { |
private_->serializer.WriteRawBytes(source, length); |
} |
@@ -3099,6 +3103,10 @@ bool ValueDeserializer::ReadUint64(uint64_t* value) { |
return private_->deserializer.ReadUint64(value); |
} |
+bool ValueDeserializer::ReadDouble(double* value) { |
+ return private_->deserializer.ReadDouble(value); |
+} |
+ |
bool ValueDeserializer::ReadRawBytes(size_t length, const void** data) { |
return private_->deserializer.ReadRawBytes(length, data); |
} |