Skip to content

Commit

Permalink
Update typing
Browse files Browse the repository at this point in the history
  • Loading branch information
romainthomas committed Nov 10, 2023
1 parent 262ad97 commit 1a1d2ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/python/lief/MachO.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,7 @@ class ThreadCommand(LoadCommand):
architecture: lief.MachO.CPU_TYPES
count: int
flavor: int
state: list[int]
state: memoryview
def __init__(self, arg0: int, arg1: int, arg2: lief.MachO.CPU_TYPES, /) -> None: ...
@property
def pc(self) -> int: ...
Expand Down
4 changes: 2 additions & 2 deletions api/python/lief/PE.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ class GenericType(Attribute):
@property
def oid(self) -> str: ...
@property
def raw_content(self) -> bytes: ...
def raw_content(self) -> memoryview: ...

class Header(lief.Object):
class CHARACTERISTICS:
Expand Down Expand Up @@ -2471,7 +2471,7 @@ class Signature(lief.Object):
@property
def digest_algorithm(self) -> lief.PE.ALGORITHMS: ...
@property
def raw_der(self) -> bytes: ...
def raw_der(self) -> memoryview: ...
@property
def signers(self) -> lief.PE.Signature.it_const_signers_t: ...
@property
Expand Down

0 comments on commit 1a1d2ec

Please sign in to comment.