Skip to content
This repository was archived by the owner on Dec 24, 2025. It is now read-only.

Commit df0dc87

Browse files
authored
Fix comment, using undefined isStruc instead of is_struct
1 parent 15b9ab2 commit df0dc87

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

python/idc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4054,7 +4054,7 @@ def add_struc_member(sid, name, offset, flag, typeid, nbytes, target=-1, tdelta=
40544054
-1 means to add at the end of the structure
40554055
@param flag: type of the new member. Should be one of
40564056
FF_BYTE..FF_PACKREAL (see above) combined with FF_DATA
4057-
@param typeid: if isStruc(flag) then typeid specifies the structure id for the member
4057+
@param typeid: if is_struct(flag) then typeid specifies the structure id for the member
40584058
if is_off0(flag) then typeid specifies the offset base.
40594059
if is_strlit(flag) then typeid specifies the string type (STRTYPE_...).
40604060
if is_stroff(flag) then typeid specifies the structure id
@@ -4135,7 +4135,7 @@ def set_member_type(sid, member_offset, flag, typeid, nitems, target=-1, tdelta=
41354135
@param member_offset: offset of the member
41364136
@param flag: new type of the member. Should be one of
41374137
FF_BYTE..FF_PACKREAL (see above) combined with FF_DATA
4138-
@param typeid: if isStruc(flag) then typeid specifies the structure id for the member
4138+
@param typeid: if is_struct(flag) then typeid specifies the structure id for the member
41394139
if is_off0(flag) then typeid specifies the offset base.
41404140
if is_strlit(flag) then typeid specifies the string type (STRTYPE_...).
41414141
if is_stroff(flag) then typeid specifies the structure id

0 commit comments

Comments
 (0)