mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
idc.py: Til2Idb() was broken
This commit is contained in:
+1
-1
@@ -6170,7 +6170,7 @@ def Til2Idb(idx, type_name):
|
||||
|
||||
@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):
|
||||
|
||||
Reference in New Issue
Block a user