mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-30 21:14:20 +01:00
idc.py: Til2Idb() was broken
This commit is contained in:
parent
f216eb9a6d
commit
4867b405a9
@ -6170,7 +6170,7 @@ def Til2Idb(idx, type_name):
|
|||||||
|
|
||||||
@return: BADNODE-failed, otherwise the type id (structure id or enum id)
|
@return: BADNODE-failed, otherwise the type id (structure id or enum id)
|
||||||
"""
|
"""
|
||||||
return idaapi.til2idb(idx, type_name)
|
return idaapi.import_type(idaapi.cvar.idati, idx, type_name)
|
||||||
|
|
||||||
|
|
||||||
def GetType(ea):
|
def GetType(ea):
|
||||||
|
Loading…
Reference in New Issue
Block a user