This commit is contained in:
cjw
2026-02-12 23:22:11 +08:00
parent 7b09eb3d89
commit 89660bba4e
5988 changed files with 2517516 additions and 0 deletions
@@ -0,0 +1,16 @@
from collections.abc import Callable
from typing import Any, NamedTuple, TypeAlias
import numpy as np
__all__: list[str] = ["interface"]
_CDataVoidPointer: TypeAlias = Any
class interface(NamedTuple):
state_address: int
state: _CDataVoidPointer
next_uint64: Callable[..., np.uint64]
next_uint32: Callable[..., np.uint32]
next_double: Callable[..., np.float64]
bit_generator: _CDataVoidPointer