Prototype of user-provided callback function that cleans up a user-defined RNG context.
#include "hurandom.h"
typedef int SB_CALLBACK_CALLCONV hu_RngEndFunc(void **rngctx, void *sbCtx);
This function is called by hu_CustomRngDestroy(). It will be passed the rngctx object that was created by the hu_RngInitFunc() callback. You should perform any cleanup and deallocation of the object.
This callback should be registered during custom RNG context creation.