diff --git a/src/module.c b/src/module.c index 99d2adcd4..4bdaecb8a 100644 --- a/src/module.c +++ b/src/module.c @@ -9868,14 +9868,14 @@ void RM_ScanCursorDestroy(RedisModuleScanCursor *cursor) { * * The way it should be used: * - * RedisModuleCursor *c = RedisModule_ScanCursorCreate(); + * RedisModuleScanCursor *c = RedisModule_ScanCursorCreate(); * while(RedisModule_Scan(ctx, c, callback, privateData)); * RedisModule_ScanCursorDestroy(c); * * It is also possible to use this API from another thread while the lock * is acquired during the actual call to RM_Scan: * - * RedisModuleCursor *c = RedisModule_ScanCursorCreate(); + * RedisModuleScanCursor *c = RedisModule_ScanCursorCreate(); * RedisModule_ThreadSafeContextLock(ctx); * while(RedisModule_Scan(ctx, c, callback, privateData)){ * RedisModule_ThreadSafeContextUnlock(ctx); @@ -9963,7 +9963,7 @@ static void moduleScanKeyCallback(void *privdata, const dictEntry *de) { * * The way it should be used: * - * RedisModuleCursor *c = RedisModule_ScanCursorCreate(); + * RedisModuleScanCursor *c = RedisModule_ScanCursorCreate(); * RedisModuleKey *key = RedisModule_OpenKey(...) * while(RedisModule_ScanKey(key, c, callback, privateData)); * RedisModule_CloseKey(key); @@ -9972,7 +9972,7 @@ static void moduleScanKeyCallback(void *privdata, const dictEntry *de) { * It is also possible to use this API from another thread while the lock is acquired during * the actual call to RM_ScanKey, and re-opening the key each time: * - * RedisModuleCursor *c = RedisModule_ScanCursorCreate(); + * RedisModuleScanCursor *c = RedisModule_ScanCursorCreate(); * RedisModule_ThreadSafeContextLock(ctx); * RedisModuleKey *key = RedisModule_OpenKey(...) * while(RedisModule_ScanKey(ctx, c, callback, privateData)){