https://redis.io/docs/reference/modules/modules-api-ref/#section-modules-api-exporting-importing - the example getExternalAPIs confuses me. It calls RedisModule_GetOtherModuleAPIs which looks like it should be part of the redis module api, but as far as I can see that doesn't exist. Presumably this is intended to illustrate the use use
of RedisModule_GetSharedAPI, so perhaps that's what's intended? But that needs the context which isn't passed in to getExternalAPIs in this example.
An example illustrating the use of RedisModule_GetSharedAPI that will compile and run unmodified would be a great help.
Comment From: yossigo
@PaulRudin The example is wrong, RedisModule_GetOtherModuleAPIs should really be RedisModule_GetSharedAPI.