Moved location of extern "C" (patch for Python 1.6 compilation).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
180f03fe97
commit
4e06247c43
1 changed files with 1 additions and 1 deletions
|
|
@ -9,11 +9,11 @@
|
|||
************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "Python.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include "Python.h"
|
||||
|
||||
#define SWIG_PY_INT 1
|
||||
#define SWIG_PY_FLOAT 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue