| 6988 | } |
| 6989 | |
| 6990 | static int PythonRecord_Serialize(ExecutionCtx* ectx, Gears_BufferWriter* bw, Record* base){ |
| 6991 | PythonRecord* r = (PythonRecord*)base; |
| 6992 | char* err = NULL; |
| 6993 | if(RedisGearsPy_PyObjectSerialize(r->obj, bw, &err) != REDISMODULE_OK){ |
| 6994 | RedisGears_SetError(ectx, err); |
| 6995 | return REDISMODULE_ERR; |
| 6996 | } |
| 6997 | return REDISMODULE_OK; |
| 6998 | } |
| 6999 | |
| 7000 | static void PythonRecord_Free(Record* base){ |
| 7001 | PythonRecord* record = (PythonRecord*)base; |
nothing calls this directly
no test coverage detected