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:
William S Fulton 2003-02-18 20:18:54 +00:00
commit 44fde93b5a
4 changed files with 6 additions and 10 deletions

View file

@ -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);