void* in C interface - not sure if this is needed