Improved support for native Windows compilers.
It is no longer necessary to explicitly export the SWIG_init DLL function by passing flags to the linker. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8549b7cbed
commit
44fde93b5a
4 changed files with 6 additions and 10 deletions
|
|
@ -330,7 +330,7 @@ public:
|
|||
"#ifdef __cplusplus\n",
|
||||
"extern \"C\"\n",
|
||||
"#endif\n",
|
||||
"void Init_", feature, "(void) {\n",
|
||||
"SWIGEXPORT(void) Init_", feature, "(void) {\n",
|
||||
"int i;\n",
|
||||
"\n",
|
||||
NIL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue