def SetType(ea, newtype):
    if newtype is not '':
        pt = ParseType(newtype, 0)[1:]
    else:
        pt = None
    return ApplyType(ea, pt, TINFO_DEFINITE)
Set type of function/variable
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/SetType