Function redis_module::raw::export_shared_api
source · pub unsafe fn export_shared_api(
ctx: *mut RedisModuleCtx,
func: *const c_void,
name: *const c_char
)
Expand description
Safety
This function is safe to use as it doesn’t perform any work with the RedisModuleCtx pointer except for passing it to the redis server.
Panics
Panics when the RedisModule_ExportSharedAPI is unavailable.