diff python/pydc/pydc.pyi @ 60:8e905c0798c7

- p2Z() helper func - import fix for test code avoiding potential circular import
author Tassilo Philipp
date Wed, 03 Aug 2022 15:38:07 +0200
parents 918dab7a6606
children
line wrap: on
line diff
--- a/python/pydc/pydc.pyi	Tue Jun 22 18:49:02 2021 +0200
+++ b/python/pydc/pydc.pyi	Wed Aug 03 15:38:07 2022 +0200
@@ -12,4 +12,5 @@
 def call(funcptr: H, signature: str, *arguments: Any) -> Any: ...
 def new_callback(c_signature: str, f: Callable) -> H: ...  # note: only callbacks with positional args
 def free_callback(cbhandle: H) -> None: ...
+def p2Z(ptr: int) -> Optional[str]: ...  # note: only correct for python 3