Mercurial > pub > dyncall > bindings
view python/pydc/pydc.pyi @ 51:03b6934cdd63
typo
author | Tassilo Philipp |
---|---|
date | Wed, 09 Dec 2020 15:56:13 +0100 |
parents | edf5c85de5ac |
children | 918dab7a6606 |
line wrap: on
line source
import sys from typing import Optional, Any, TypeVar # Handle type, depending on python version this is either internal type # PyCObject or PyCapsule, neither of one can be used as annotation H = TypeVar('H') def load(libpath: Optional[str]) -> H: ... def find(libhandle: H, symbol: str) -> H: ... def free(libhandle: H) -> None: ... def get_path(libhandle: Optional[H]) -> str: ... def call(funcptr: H, signature: str, *arguments: Any) -> Any: ...