Files

17 lines
421 B
Python
Raw Permalink Normal View History

2025-09-07 22:09:54 +02:00
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