blob: b667fd1c82eb532097e3c4422d93d2b14975d590 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
|