From 2ee15fa7e51907ec1991ee627607500cfe70dd16 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Mon, 22 May 2023 17:58:58 +0100 Subject: [PATCH] add fields to static pyi stub --- create_stub_static.py | 5 + docs/genindex.html | 8 +- docs/objects.inv | Bin 18865 -> 18871 bytes docs/raylib.html | 12 ++ docs/searchindex.js | 2 +- dynamic/raylib/raylib_modified.h | 191 +++++++++++++++++++------------ raylib/__init__.pyi | 5 + 7 files changed, 147 insertions(+), 76 deletions(-) diff --git a/create_stub_static.py b/create_stub_static.py index 98940a6..f2e36f0 100644 --- a/create_stub_static.py +++ b/create_stub_static.py @@ -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: ... """) diff --git a/docs/genindex.html b/docs/genindex.html index d7df2a6..1e8192f 100644 --- a/docs/genindex.html +++ b/docs/genindex.html @@ -1160,6 +1160,8 @@
  • fade() (in module pyray)
  • Fade() (in module raylib) +
  • +
  • ffi (in module raylib)
  • file_exists() (in module pyray)
  • @@ -6107,6 +6109,8 @@
  • ResumeMusicStream() (in module raylib)
  • ResumeSound() (in module raylib) +
  • +
  • rl (in module raylib)
  • rl_active_draw_buffers() (in module pyray)
  • @@ -6487,11 +6491,11 @@
  • RL_SHADER_ATTRIB_VEC2 (in module raylib)
  • RL_SHADER_ATTRIB_VEC3 (in module raylib) -
  • -
  • RL_SHADER_ATTRIB_VEC4 (in module raylib)