passign a void* to lua and back