Update of /cvsroot/python/python/dist/src/Mac/Python In directory usw-pr-cvs1:/tmp/cvs-serv17711/Mac/Python Modified Files: macgetpath.c Log Message: staticforward bites the dust. The staticforward define was needed to support certain broken C compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the static keyword when it was used with a forward declaration of a static initialized structure. Standard C allows the forward declaration with static, and we've decided to stop catering to broken C compilers. (In fact, we expect that the compilers are all fixed eight years later.) I'm leaving staticforward and statichere defined in object.h as static. This is only for backwards compatibility with C extensions that might still use it. XXX I haven't updated the documentation. Index: macgetpath.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Mac/Python/macgetpath.c,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** macgetpath.c 11 Apr 2002 20:48:25 -0000 1.26 --- macgetpath.c 17 Jul 2002 16:30:35 -0000 1.27 *************** *** 65,69 **** #ifndef USE_BUILTIN_PATH ! staticforward char *PyMac_GetPythonPath(); #endif --- 65,69 ---- #ifndef USE_BUILTIN_PATH ! static char *PyMac_GetPythonPath(); #endif
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4