Pretty much everything else exported by Python.h has an extern "C"
annotation, yet this header appears to be missing one.
#ifndef Py_LIMITED_API
#ifndef Py_TRACEMALLOC_H
#define Py_TRACEMALLOC_H
+#ifdef __cplusplus
+extern "C" {
+#endif
/* Track an allocated memory block in the tracemalloc module.
Return 0 on success, return -1 on error (failed to allocate memory to store
unsigned int domain,
uintptr_t ptr);
+#ifdef __cplusplus
+}
+#endif
#endif // !Py_TRACEMALLOC_H
#endif // !Py_LIMITED_API