valkey-module 0.1.11

A toolkit for building valkey modules in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "valkeymodule.h"

// ValkeyModule_Init is defined as a static function and so won't be exported as
// a symbol. Export a version under a slightly different name so that we can
// get access to it from Rust.

int Export_ValkeyModule_Init(ValkeyModuleCtx *ctx, const char *name, int ver, int apiver) {
    return ValkeyModule_Init(ctx, name, ver, apiver);
}

void Export_ValkeyModule_InitAPI(ValkeyModuleCtx *ctx) {
    ValkeyModule_InitAPI(ctx);
}