@staticmethod
def ptr_size():
    '\n            Return the number of bits in a pointer.\n    \n            :rtype: int\n        '
    info = idaapi.get_inf_structure()
    if info.is_64bit():
        bits = 64
    elif info.is_32bit():
        bits = 32
    else:
        bits = 16
    return bits
Return the number of bits in a pointer.

:rtype: int
@staticmethod
def ptr_size():
    '\n            Return the number of bits in a pointer.\n    \n            :rtype: int\n        '
    info = idaapi.get_inf_structure()
    if info.is_64bit():
        bits = 64
    elif info.is_32bit():
        bits = 32
    else:
        bits = 16
    return bits