def long_from_unsigned_int(self, ival):
    '\n        Same as long_from_signed_int, but for unsigned values.\n        '
    bits = ival.type.width
    if (bits <= self.ulong.width):
        return self.long_from_ulong(self.builder.zext(ival, self.ulong))
    elif (bits <= self.ulonglong.width):
        return self.long_from_ulonglong(self.builder.zext(ival, self.ulonglong))
    else:
        raise OverflowError(('integer too big (%d bits)' % bits))
Same as long_from_signed_int, but for unsigned values.
def long_from_unsigned_int(self, ival):
    '\n        \n        '
    bits = ival.type.width
    if (bits <= self.ulong.width):
        return self.long_from_ulong(self.builder.zext(ival, self.ulong))
    elif (bits <= self.ulonglong.width):
        return self.long_from_ulonglong(self.builder.zext(ival, self.ulonglong))
    else:
        raise OverflowError(('integer too big (%d bits)' % bits))