def long_as_longlong(self, numobj):
    fnty = Type.function(self.ulonglong, [self.pyobj])
    fn = self._get_function(fnty, name='PyLong_AsLongLong')
    return self.builder.call(fn, [numobj])
def long_as_longlong(self, numobj):
    fnty = Type.function(self.ulonglong, [self.pyobj])
    fn = self._get_function(fnty, name='PyLong_AsLongLong')
    return self.builder.call(fn, [numobj])