[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [39608] trunk/lib/darwin-9.x.universal/ python/include/python3.2: really update the headers
jens verwiebe
info at jensverwiebe.de
Mon Aug 22 13:46:33 CEST 2011
Revision: 39608
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39608
Author: jensverwiebe
Date: 2011-08-22 11:46:33 +0000 (Mon, 22 Aug 2011)
Log Message:
-----------
really update the headers
Modified Paths:
--------------
trunk/lib/darwin-9.x.universal/python/include/python3.2/abstract.h
trunk/lib/darwin-9.x.universal/python/include/python3.2/import.h
trunk/lib/darwin-9.x.universal/python/include/python3.2/moduleobject.h
trunk/lib/darwin-9.x.universal/python/include/python3.2/patchlevel.h
trunk/lib/darwin-9.x.universal/python/include/python3.2/pycapsule.h
trunk/lib/darwin-9.x.universal/python/include/python3.2/pyconfig.h
trunk/lib/darwin-9.x.universal/python/include/python3.2/pymacconfig.h
trunk/lib/darwin-9.x.universal/python/include/python3.2/pystate.h
trunk/lib/darwin-9.x.universal/python/include/python3.2/pythonrun.h
Modified: trunk/lib/darwin-9.x.universal/python/include/python3.2/abstract.h
===================================================================
--- trunk/lib/darwin-9.x.universal/python/include/python3.2/abstract.h 2011-08-22 10:44:28 UTC (rev 39607)
+++ trunk/lib/darwin-9.x.universal/python/include/python3.2/abstract.h 2011-08-22 11:46:33 UTC (rev 39608)
@@ -468,7 +468,7 @@
arbitrary data.
0 is returned on success. buffer and buffer_len are only
- set in case no error occurrs. Otherwise, -1 is returned and
+ set in case no error occurs. Otherwise, -1 is returned and
an exception set.
*/
@@ -482,7 +482,7 @@
writable memory location in buffer of size buffer_len.
0 is returned on success. buffer and buffer_len are only
- set in case no error occurrs. Otherwise, -1 is returned and
+ set in case no error occurs. Otherwise, -1 is returned and
an exception set.
*/
Modified: trunk/lib/darwin-9.x.universal/python/include/python3.2/import.h
===================================================================
--- trunk/lib/darwin-9.x.universal/python/include/python3.2/import.h 2011-08-22 10:44:28 UTC (rev 39607)
+++ trunk/lib/darwin-9.x.universal/python/include/python3.2/import.h 2011-08-22 11:46:33 UTC (rev 39608)
@@ -9,26 +9,49 @@
PyAPI_FUNC(long) PyImport_GetMagicNumber(void);
PyAPI_FUNC(const char *) PyImport_GetMagicTag(void);
-PyAPI_FUNC(PyObject *) PyImport_ExecCodeModule(char *name, PyObject *co);
+PyAPI_FUNC(PyObject *) PyImport_ExecCodeModule(
+ char *name, /* UTF-8 encoded string */
+ PyObject *co
+ );
PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleEx(
- char *name, PyObject *co, char *pathname);
+ char *name, /* UTF-8 encoded string */
+ PyObject *co,
+ char *pathname /* decoded from the filesystem encoding */
+ );
PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleWithPathnames(
- char *name, PyObject *co, char *pathname, char *cpathname);
+ char *name, /* UTF-8 encoded string */
+ PyObject *co,
+ char *pathname, /* decoded from the filesystem encoding */
+ char *cpathname /* decoded from the filesystem encoding */
+ );
PyAPI_FUNC(PyObject *) PyImport_GetModuleDict(void);
-PyAPI_FUNC(PyObject *) PyImport_AddModule(const char *name);
-PyAPI_FUNC(PyObject *) PyImport_ImportModule(const char *name);
-PyAPI_FUNC(PyObject *) PyImport_ImportModuleNoBlock(const char *);
-PyAPI_FUNC(PyObject *) PyImport_ImportModuleLevel(char *name,
- PyObject *globals, PyObject *locals, PyObject *fromlist, int level);
+PyAPI_FUNC(PyObject *) PyImport_AddModule(
+ const char *name /* UTF-8 encoded string */
+ );
+PyAPI_FUNC(PyObject *) PyImport_ImportModule(
+ const char *name /* UTF-8 encoded string */
+ );
+PyAPI_FUNC(PyObject *) PyImport_ImportModuleNoBlock(
+ const char *name /* UTF-8 encoded string */
+ );
+PyAPI_FUNC(PyObject *) PyImport_ImportModuleLevel(
+ char *name, /* UTF-8 encoded string */
+ PyObject *globals,
+ PyObject *locals,
+ PyObject *fromlist,
+ int level
+ );
#define PyImport_ImportModuleEx(n, g, l, f) \
- PyImport_ImportModuleLevel(n, g, l, f, -1)
+ PyImport_ImportModuleLevel(n, g, l, f, -1)
PyAPI_FUNC(PyObject *) PyImport_GetImporter(PyObject *path);
PyAPI_FUNC(PyObject *) PyImport_Import(PyObject *name);
PyAPI_FUNC(PyObject *) PyImport_ReloadModule(PyObject *m);
PyAPI_FUNC(void) PyImport_Cleanup(void);
-PyAPI_FUNC(int) PyImport_ImportFrozenModule(char *);
+PyAPI_FUNC(int) PyImport_ImportFrozenModule(
+ char *name /* UTF-8 encoded string */
+ );
#ifndef Py_LIMITED_API
#ifdef WITH_THREAD
@@ -41,9 +64,14 @@
PyAPI_FUNC(void) _PyImport_ReInitLock(void);
-PyAPI_FUNC(PyObject *)_PyImport_FindBuiltin(char *);
+PyAPI_FUNC(PyObject *)_PyImport_FindBuiltin(
+ char *name /* UTF-8 encoded string */
+ );
PyAPI_FUNC(PyObject *)_PyImport_FindExtensionUnicode(char *, PyObject *);
-PyAPI_FUNC(int)_PyImport_FixupBuiltin(PyObject*, char *);
+PyAPI_FUNC(int)_PyImport_FixupBuiltin(
+ PyObject *mod,
+ char *name /* UTF-8 encoded string */
+ );
PyAPI_FUNC(int)_PyImport_FixupExtensionUnicode(PyObject*, char *, PyObject *);
struct _inittab {
@@ -56,11 +84,14 @@
PyAPI_DATA(PyTypeObject) PyNullImporter_Type;
-PyAPI_FUNC(int) PyImport_AppendInittab(const char *name, PyObject* (*initfunc)(void));
+PyAPI_FUNC(int) PyImport_AppendInittab(
+ const char *name, /* ASCII encoded string */
+ PyObject* (*initfunc)(void)
+ );
#ifndef Py_LIMITED_API
struct _frozen {
- char *name;
+ char *name; /* ASCII encoded string */
unsigned char *code;
int size;
};
Modified: trunk/lib/darwin-9.x.universal/python/include/python3.2/moduleobject.h
===================================================================
--- trunk/lib/darwin-9.x.universal/python/include/python3.2/moduleobject.h 2011-08-22 10:44:28 UTC (rev 39607)
+++ trunk/lib/darwin-9.x.universal/python/include/python3.2/moduleobject.h 2011-08-22 11:46:33 UTC (rev 39608)
@@ -12,7 +12,9 @@
#define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type)
#define PyModule_CheckExact(op) (Py_TYPE(op) == &PyModule_Type)
-PyAPI_FUNC(PyObject *) PyModule_New(const char *);
+PyAPI_FUNC(PyObject *) PyModule_New(
+ const char *name /* UTF-8 encoded string */
+ );
PyAPI_FUNC(PyObject *) PyModule_GetDict(PyObject *);
PyAPI_FUNC(const char *) PyModule_GetName(PyObject *);
PyAPI_FUNC(const char *) PyModule_GetFilename(PyObject *);
Modified: trunk/lib/darwin-9.x.universal/python/include/python3.2/patchlevel.h
===================================================================
--- trunk/lib/darwin-9.x.universal/python/include/python3.2/patchlevel.h 2011-08-22 10:44:28 UTC (rev 39607)
+++ trunk/lib/darwin-9.x.universal/python/include/python3.2/patchlevel.h 2011-08-22 11:46:33 UTC (rev 39608)
@@ -18,16 +18,17 @@
/*--start constants--*/
#define PY_MAJOR_VERSION 3
#define PY_MINOR_VERSION 2
-#define PY_MICRO_VERSION 0
+#define PY_MICRO_VERSION 1
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
#define PY_RELEASE_SERIAL 0
/* Version as a string */
-#define PY_VERSION "3.2"
+#define PY_VERSION "3.2.1"
/*--end constants--*/
-/* Subversion Revision number of this file (not of the repository) */
-#define PY_PATCHLEVEL_REVISION "$Revision: 88445 $"
+/* Subversion Revision number of this file (not of the repository). Empty
+ since Mercurial migration. */
+#define PY_PATCHLEVEL_REVISION ""
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
Use this for numeric comparisons, e.g. #if PY_VERSION_HEX >= ... */
Modified: trunk/lib/darwin-9.x.universal/python/include/python3.2/pycapsule.h
===================================================================
--- trunk/lib/darwin-9.x.universal/python/include/python3.2/pycapsule.h 2011-08-22 10:44:28 UTC (rev 39607)
+++ trunk/lib/darwin-9.x.universal/python/include/python3.2/pycapsule.h 2011-08-22 11:46:33 UTC (rev 39608)
@@ -48,7 +48,9 @@
PyAPI_FUNC(int) PyCapsule_SetContext(PyObject *capsule, void *context);
-PyAPI_FUNC(void *) PyCapsule_Import(const char *name, int no_block);
+PyAPI_FUNC(void *) PyCapsule_Import(
+ const char *name, /* UTF-8 encoded string */
+ int no_block);
#ifdef __cplusplus
Modified: trunk/lib/darwin-9.x.universal/python/include/python3.2/pyconfig.h
===================================================================
--- trunk/lib/darwin-9.x.universal/python/include/python3.2/pyconfig.h 2011-08-22 10:44:28 UTC (rev 39607)
+++ trunk/lib/darwin-9.x.universal/python/include/python3.2/pyconfig.h 2011-08-22 11:46:33 UTC (rev 39608)
@@ -102,8 +102,8 @@
/* Define this if you have the type _Bool. */
#define HAVE_C99_BOOL 1
-/* Define to 1 if you have the `chflags' function. */
-/* #undef HAVE_CHFLAGS */
+/* Define to 1 if you have the 'chflags' function. */
+#define HAVE_CHFLAGS 1
/* Define to 1 if you have the `chown' function. */
#define HAVE_CHOWN 1
@@ -396,8 +396,8 @@
Solaris and Linux, the necessary defines are already defined.) */
/* #undef HAVE_LARGEFILE_SUPPORT */
-/* Define to 1 if you have the `lchflags' function. */
-/* #undef HAVE_LCHFLAGS */
+/* Define to 1 if you have the 'lchflags' function. */
+#define HAVE_LCHFLAGS 1
/* Define to 1 if you have the `lchmod' function. */
#define HAVE_LCHMOD 1
@@ -1153,6 +1153,9 @@
/* This must be defined on some systems to enable large file support. */
#define _LARGEFILE_SOURCE 1
+/* This must be defined on AIX systems to enable large file support. */
+/* #undef _LARGE_FILES */
+
/* Define to 1 if on MINIX. */
/* #undef _MINIX */
Modified: trunk/lib/darwin-9.x.universal/python/include/python3.2/pymacconfig.h
===================================================================
--- trunk/lib/darwin-9.x.universal/python/include/python3.2/pymacconfig.h 2011-08-22 10:44:28 UTC (rev 39607)
+++ trunk/lib/darwin-9.x.universal/python/include/python3.2/pymacconfig.h 2011-08-22 11:46:33 UTC (rev 39608)
@@ -61,7 +61,7 @@
# endif
# if defined(__LP64__)
- /* MacOSX 10.4 (the first release to suppport 64-bit code
+ /* MacOSX 10.4 (the first release to support 64-bit code
* at all) only supports 64-bit in the UNIX layer.
* Therefore surpress the toolbox-glue in 64-bit mode.
*/
Modified: trunk/lib/darwin-9.x.universal/python/include/python3.2/pystate.h
===================================================================
--- trunk/lib/darwin-9.x.universal/python/include/python3.2/pystate.h 2011-08-22 10:44:28 UTC (rev 39607)
+++ trunk/lib/darwin-9.x.universal/python/include/python3.2/pystate.h 2011-08-22 11:46:33 UTC (rev 39608)
@@ -31,6 +31,7 @@
PyObject *codec_search_cache;
PyObject *codec_error_registry;
int codecs_initialized;
+ int fscodec_initialized;
#ifdef HAVE_DLOPEN
int dlopenflags;
@@ -131,6 +132,7 @@
PyAPI_FUNC(void) PyThreadState_Delete(PyThreadState *);
#ifdef WITH_THREAD
PyAPI_FUNC(void) PyThreadState_DeleteCurrent(void);
+PyAPI_FUNC(void) _PyGILState_Reinit(void);
#endif
PyAPI_FUNC(PyThreadState *) PyThreadState_Get(void);
Modified: trunk/lib/darwin-9.x.universal/python/include/python3.2/pythonrun.h
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list