[Python-checkins] CVS: python/dist/src/Python getargs.c,2.60,2.61

Jeremy Hylton jhylton@users.sourceforge.net
Mon, 30 Jul 2001 15:34:26 -0700


Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv27264/Python

Modified Files:
	getargs.c 
Log Message:
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.



Index: getargs.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/getargs.c,v
retrieving revision 2.60
retrieving revision 2.61
diff -C2 -d -r2.60 -r2.61
*** getargs.c	2001/05/29 17:46:19	2.60
--- getargs.c	2001/07/30 22:34:24	2.61
***************
*** 360,368 ****
  
  
- /* Internal API needed by convertsimple() and a helper macro. */
- extern 
- PyObject *_PyUnicode_AsDefaultEncodedString(PyObject *unicode,
- 				  const char *errors);
- 
  #define UNICODE_DEFAULT_ENCODING(arg) \
          _PyUnicode_AsDefaultEncodedString(arg, NULL)
--- 360,363 ----