def long_as_voidptr(self, numobj):
    "\n        Convert the given Python integer to a void*.  This is recommended\n        over number_as_ssize_t as it isn't affected by signedness.\n        "
    fnty = Type.function(self.voidptr, [self.pyobj])
    fn = self._get_function(fnty, name='PyLong_AsVoidPtr')
    return self.builder.call(fn, [numobj])
Convert the given Python integer to a void*.  This is recommended
over number_as_ssize_t as it isn't affected by signedness.
def long_as_voidptr(self, numobj):
    "\n        Convert the given Python integer to a void*.  This is recommended\n        over number_as_ssize_t as it isn't affected by signedness.\n        "
    fnty = Type.function(self.voidptr, [self.pyobj])
    fn = self._get_function(fnty, name='PyLong_AsVoidPtr')
    return self.builder.call(fn, [numobj])