From 9fab79bcb5b83dc0247ce4cd60486341c73e7fd5 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sun, 11 Sep 2016 11:03:14 +0300 Subject: Issue #26900: Excluded underscored names and other private API from limited API. --- Include/longobject.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Include/longobject.h') diff --git a/Include/longobject.h b/Include/longobject.h index 2957f1612c..efd409c75a 100644 --- a/Include/longobject.h +++ b/Include/longobject.h @@ -204,8 +204,10 @@ PyAPI_FUNC(int) _PyLong_FormatAdvancedWriter( PyAPI_FUNC(unsigned long) PyOS_strtoul(const char *, char **, int); PyAPI_FUNC(long) PyOS_strtol(const char *, char **, int); +#ifndef Py_LIMITED_API /* For use by the gcd function in mathmodule.c */ PyAPI_FUNC(PyObject *) _PyLong_GCD(PyObject *, PyObject *); +#endif /* !Py_LIMITED_API */ #ifdef __cplusplus } -- cgit v1.2.1