]> granicus.if.org Git - python/commitdiff
_PyUnicode_AsKind() is *not* part of the stable ABI
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 1 Oct 2011 01:57:28 +0000 (03:57 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 1 Oct 2011 01:57:28 +0000 (03:57 +0200)
Include/unicodeobject.h

index c41d7871c8176e9beb84b3f4f4d87c3b9ea08b3b..bba1c23f9870f21c7d4f11d3c64c838e2809194b 100644 (file)
@@ -795,7 +795,9 @@ PyAPI_FUNC(wchar_t*) PyUnicode_AsWideCharString(
     Py_ssize_t *size            /* number of characters of the result */
     );
 
+#ifndef Py_LIMITED_API
 PyAPI_FUNC(void*) _PyUnicode_AsKind(PyObject *s, unsigned int kind);
+#endif
 
 #endif