Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
A related question discussed on python-dev is whether extern "C" {} wrappers should ever be used in .c files. I argue that the answer is "no" even if C++ compilability is desired. The new patch eliminates several uses of extern "C" {} in .c files while preserving C++ compilability. This is achieved by including proper header files instead of declaring external functions in .c files and in some cases adding declarations of functions that are used outside of the files they are defined in in the appropriate header files. Added file: http://bugs.python.org/file12530/c++-patch-1.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4805> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com