add fields to static pyi stub
This commit is contained in:
parent
42d6762fbe
commit
2ee15fa7e5
7 changed files with 147 additions and 76 deletions
|
@ -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: ...
|
||||
|
||||
""")
|
||||
|
|
Reference in a new issue