summaryrefslogtreecommitdiff
path: root/Include/longobject.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-09-11 11:03:14 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-09-11 11:03:14 +0300
commit9fab79bcb5b83dc0247ce4cd60486341c73e7fd5 (patch)
treeb24f07e6f0ccb42ae02628248d1b521d6700386f /Include/longobject.h
parentc16595e567d51a1773be30c34622620b52be7acf (diff)
downloadcpython-git-9fab79bcb5b83dc0247ce4cd60486341c73e7fd5.tar.gz
Issue #26900: Excluded underscored names and other private API from limited API.
Diffstat (limited to 'Include/longobject.h')
-rw-r--r--Include/longobject.h2
1 files changed, 2 insertions, 0 deletions
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
}