Add ModuleDataType to/from string serialization.

Add two new functions that leverage the RedisModuleDataType mechanism
for RDB serialization/deserialization and make it possible to use it
to/from arbitrary strings:

* RM_SaveDataTypeToString()
* RM_LoadDataTypeFromString()
This commit is contained in:
Yossi Gottlieb
2019-11-04 21:53:59 +02:00
parent a15a5d7097
commit 5350e7669e
6 changed files with 250 additions and 1 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ TEST_MODULES = \
propagate.so \
misc.so \
hooks.so \
blockonkeys.so
blockonkeys.so \
datatype.so
.PHONY: all