Skip to content

Commit a1e922e

Browse files
committed
Update changelog
1 parent 076556e commit a1e922e

File tree

26 files changed

+6786
-6770
lines changed

26 files changed

+6786
-6770
lines changed

api/python/lief/ART/__init__.pyi

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,25 @@ import os
55
from typing import Iterator, Optional, Union, overload
66

77
import lief
8+
import lief.Android
89

910

11+
class STORAGE_MODES(enum.Enum):
12+
UNCOMPRESSED = 0
13+
14+
LZ4 = 1
15+
16+
LZ4HC = 2
17+
18+
@overload
19+
def parse(filename: str) -> Optional[File]: ...
20+
21+
@overload
22+
def parse(raw: Sequence[int], name: str = '') -> Optional[File]: ...
23+
24+
@overload
25+
def parse(obj: Union[io.IOBase | os.PathLike], name: str = '') -> Optional[File]: ...
26+
1027
class File(lief.Object):
1128
@property
1229
def header(self) -> Header: ...
@@ -76,26 +93,10 @@ class Header(lief.Object):
7693

7794
def __str__(self) -> str: ...
7895

79-
class STORAGE_MODES(enum.Enum):
80-
UNCOMPRESSED = 0
81-
82-
LZ4 = 1
83-
84-
LZ4HC = 2
85-
86-
def android_version(art_version: int) -> lief.Android.ANDROID_VERSIONS: ...
87-
88-
@overload
89-
def parse(filename: str) -> Optional[File]: ...
90-
91-
@overload
92-
def parse(raw: Sequence[int], name: str = '') -> Optional[File]: ...
93-
94-
@overload
95-
def parse(obj: Union[io.IOBase | os.PathLike], name: str = '') -> Optional[File]: ...
96-
9796
@overload
9897
def version(file: str) -> int: ...
9998

10099
@overload
101100
def version(raw: Sequence[int]) -> int: ...
101+
102+
def android_version(art_version: int) -> lief.Android.ANDROID_VERSIONS: ...

0 commit comments

Comments
 (0)