mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-24 18:16:55 +01:00
Removed extra parameter from Get{First|Next}Member(). Thanks Rodrigo Bogossian Wang for the report.
This commit is contained in:
parent
bb83731275
commit
fc25932632
@ -4300,7 +4300,7 @@ def GetFirstMember(id):
|
|||||||
if not s:
|
if not s:
|
||||||
return -1
|
return -1
|
||||||
|
|
||||||
return idaapi.get_struc_first_offset(s, offset)
|
return idaapi.get_struc_first_offset(s)
|
||||||
|
|
||||||
|
|
||||||
def GetLastMember(id):
|
def GetLastMember(id):
|
||||||
@ -4321,7 +4321,7 @@ def GetLastMember(id):
|
|||||||
if not s:
|
if not s:
|
||||||
return -1
|
return -1
|
||||||
|
|
||||||
return idaapi.get_struc_last_offset(s, offset)
|
return idaapi.get_struc_last_offset(s)
|
||||||
|
|
||||||
|
|
||||||
def GetMemberOffset(id, member_name):
|
def GetMemberOffset(id, member_name):
|
||||||
|
Loading…
Reference in New Issue
Block a user