gh-110481: Implement biased reference counting (gh-110764)

This commit is contained in:
Sam Gross 2023-10-30 12:06:09 -04:00 committed by GitHub
parent 05f2f0ac92
commit 6dfb8fe023
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 511 additions and 52 deletions

View file

@ -11,8 +11,14 @@
*
*/
#ifndef _MSC_VER
#include "pyconfig.h" // Py_NOGIL
#endif
// Need limited C API version 3.13 for PyModule_Add() on Windows
#ifndef Py_NOGIL
#define Py_LIMITED_API 0x030d0000
#endif
#include "Python.h"