[Python-checkins] cpython: _PyUnicode_AsKind() is *not* part of the stable ABI

victor.stinner python-checkins at python.org
Sat Oct 1 04:02:21 CEST 2011


http://hg.python.org/cpython/rev/fc7d2c6db61b
changeset:   72559:fc7d2c6db61b
user:        Victor Stinner <victor.stinner at haypocalc.com>
date:        Sat Oct 01 03:57:28 2011 +0200
summary:
  _PyUnicode_AsKind() is *not* part of the stable ABI

files:
  Include/unicodeobject.h |  2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)


diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -795,7 +795,9 @@
     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
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list