This commit is contained in:
“shengyudong”
2026-01-06 14:18:39 +08:00
commit 5a384b694e
10345 changed files with 2050918 additions and 0 deletions

View File

@@ -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