Use `cptr` instead of `voidp`.