gh-101524: Only Use Public C-API in the _xxsubinterpreters Module (gh-105258)

The _xxsubinterpreters module was meant to only use public API.  Some internal C-API usage snuck in over the last few years (e.g. gh-28969).  This fixes that.
This commit is contained in:
Eric Snow 2023-06-02 16:52:33 -06:00 committed by GitHub
parent 9ad199ba36
commit e6373c0d8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 39 additions and 37 deletions

View file

@ -94,4 +94,4 @@ PyAPI_FUNC(int) _PyMem_SetupAllocators(PyMemAllocatorName allocator);
#ifdef __cplusplus
}
#endif
#endif // !Py_INTERNAL_PYMEM_H
#endif /* !Py_INTERNAL_PYMEM_H */