Commit 9d29c852 authored by Yuqi Zhang's avatar Yuqi Zhang
Browse files

Update RWFramework.h

parent da2541f6
......@@ -139,7 +139,8 @@ robj *getInnerHT(redisDb *db, robj *tname, const char *suffix, int create);
* const char *suffix : the suffix of the container metadata
* robj *key : the key of the element
* int create : 1 (or 0) if you want to create the container and the element if they don't exist (or
* not) rehNew_func_t rehNew_p : The pointer to the create function of the element struct
* not)
* rehNew_func_t rehNew_p : The pointer to the create function of the element struct
*
* If define CRDT_OVERHEAD, remember to count the memory usage when creating elements by yourself.
*
......@@ -147,8 +148,8 @@ robj *getInnerHT(redisDb *db, robj *tname, const char *suffix, int create);
* in RWF-CRPQ, the element type name is rwfze:
*
* #define GET_RWFZE(arg_t, create)\
* (rwfze *) rehHTGet(c->db, c->arg_t[1], RWF_RPQ_TABLE_SUFFIX, c->arg_t[2], create,
* (rehNew_func_t)rzeNew)
* (rwfze *) rehHTGet(c->db, c->arg_t[1], RWF_RPQ_TABLE_SUFFIX, c->arg_t[2], create,\
* (rehNew_func_t)rzeNew)
*
* */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment