From 3ce45389bd929296863e26586fa6963ba307e6fb Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Mon, 30 Jul 2001 22:34:24 +0000 Subject: Add _PyUnicode_AsDefaultEncodedString to unicodeobject.h. And remove all the extern decls in the middle of .c files. Apparently, it was excluded from the header file because it is intended for internal use by the interpreter. It's still intended for internal use and documented as such in the header file. --- Objects/object.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Objects/object.c') diff --git a/Objects/object.c b/Objects/object.c index 3349078657..87c8e1a801 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -1056,11 +1056,6 @@ PyObject_SetAttrString(PyObject *v, char *name, PyObject *w) } } -/* Internal API needed by PyObject_GetAttr(): */ -extern -PyObject *_PyUnicode_AsDefaultEncodedString(PyObject *unicode, - const char *errors); - PyObject * PyObject_GetAttr(PyObject *v, PyObject *name) { -- cgit v1.2.1