add fields to static pyi stub

This commit is contained in:
Richard Smith 2023-05-22 17:58:58 +01:00
parent 42d6762fbe
commit 2ee15fa7e5
7 changed files with 147 additions and 76 deletions

View file

@ -50,6 +50,11 @@ def ctype_to_python_type(t):
print("""from typing import Any
import _cffi_backend
ffi: _cffi_backend.FFI
rl: _cffi_backend.Lib
class struct: ...
""")