We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7bfb29 commit 3cfbc8aCopy full SHA for 3cfbc8a
src_c/base.h
@@ -217,6 +217,13 @@ pg_SetDefaultConvertFormat(PG_PixelFormatEnum format);
217
PG_PixelFormatEnum
218
pg_GetDefaultConvertFormat(void);
219
220
+#if defined(BUILD_STATIC) && defined(NO_PYGAME_C_API)
221
+// in case of wasm+dynamic loading it could be a trampoline in the globals
222
+// generated at runtime.
223
+// when building static make global accessible symbol directly.
224
+static PyObject *pgExc_SDLError;
225
+#endif
226
+
227
MODINIT_DEFINE(base);
228
229
/*=======static inline function definitions=======*/
0 commit comments