From 9f789e7f63809302b887a5fff8e186768c6d3a16 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sat, 1 Oct 2011 03:57:28 +0200 Subject: [PATCH] _PyUnicode_AsKind() is *not* part of the stable ABI --- Include/unicodeobject.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index c41d7871c81..bba1c23f987 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -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