Skip to content

Commit 810cec8

Browse files
committed
.pyi stubs
1 parent db8d62a commit 810cec8

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

gambaterm/octblit.pyi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import numpy as np
2+
import numpy.typing as npt
3+
4+
def init_table(table_bytes: list[bytes]) -> None: ...
5+
def clear_cache() -> None: ...
6+
def blit_octant(
7+
image: npt.NDArray[np.uint32],
8+
last: npt.NDArray[np.uint32] | None,
9+
refx: int,
10+
refy: int,
11+
width: int,
12+
height: int,
13+
color_mode: int,
14+
) -> bytes: ...

gambaterm/sextblit.pyi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import numpy as np
2+
import numpy.typing as npt
3+
4+
def init_table(table_bytes: list[bytes]) -> None: ...
5+
def clear_cache() -> None: ...
6+
def blit_sextant(
7+
image: npt.NDArray[np.uint32],
8+
last: npt.NDArray[np.uint32] | None,
9+
refx: int,
10+
refy: int,
11+
width: int,
12+
height: int,
13+
color_mode: int,
14+
) -> bytes: ...

0 commit comments

Comments
 (0)