Skip to content

Refectoring of redismodule.h #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
405 changes: 405 additions & 0 deletions 4.0/redismodule.h

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions 5.0/redis-module-sdk.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

#pragma once

#define REDISMODULE_XAPI_ENTERPRISE(X) \
X(int, AvoidReplicaTraffic, ()) \
X(int, Fork, (RedisModuleForkDoneHandler cb, void *user_data)) \
X(int, ExitFromChild, (int retcode)) \
X(int, KillForkChild, (int child_pid))

#define REDISMODULE_XAPI_EXTENSIONS(X) REDISMODULE_XAPI_ENTERPRISE(X)

#include "RedisModuleSDK/5.0/redismodulex.h"
568 changes: 568 additions & 0 deletions 5.0/redismodule.h

Large diffs are not rendered by default.

437 changes: 437 additions & 0 deletions 5.0/redismodulex.h

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions 6.0/redis-module-sdk.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

#pragma once

#define REDISMODULE_XAPI_ENTERPRISE(X)

#define REDISMODULE_XAPI_EXTENSIONS(X) REDISMODULE_XAPI_ENTERPRISE(X)

#include "RedisModuleSDK/6.0/redismodulex.h"
Loading