Allow certain modules APIs only defining REDISMODULE_EXPERIMENTAL_API.

Those calls may be subject to changes in the future, so the user should
acknowledge it is using non stable API.
This commit is contained in:
antirez
2017-07-14 12:07:52 +02:00
parent f03947a676
commit 8eefc9323d
2 changed files with 20 additions and 12 deletions

View File

@ -31,6 +31,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#define REDISMODULE_EXPERIMENTAL_API
#include "../redismodule.h"
#include <stdio.h>
#include <stdlib.h>