Fix DllExport - it is a leftover from the C# module and should not be used.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
09bd1b834d
commit
163bda978b
2 changed files with 2 additions and 9 deletions
|
|
@ -9,13 +9,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#ifndef DllExport
|
||||
# ifdef WIN32
|
||||
# define DllExport __declspec( dllexport )
|
||||
# else
|
||||
# define DllExport
|
||||
# endif
|
||||
#endif
|
||||
%}
|
||||
|
||||
#if 0
|
||||
|
|
|
|||
|
|
@ -1384,7 +1384,7 @@ MODULA3 ():
|
|||
Wrapper_add_localv (f, "cresult", c_return_type, "cresult = 0", NIL);
|
||||
}
|
||||
|
||||
Printv (f->def, " DllExport ", c_return_type, " ", wname, "(", NIL);
|
||||
Printv (f->def, " SWIGEXPORT ", c_return_type, " ", wname, "(", NIL);
|
||||
|
||||
// Emit all of the local variables for holding arguments.
|
||||
emit_args (t, l, f);
|
||||
|
|
@ -2486,7 +2486,7 @@ MODULA3 ():
|
|||
Replaceall (m3raw_cppcasts_code, "$baseclass", baseclass);
|
||||
|
||||
Printv (upcasts_code,
|
||||
"DllExport long Modula3_$imclazznameTo$imbaseclass",
|
||||
"SWIGEXPORT long Modula3_$imclazznameTo$imbaseclass",
|
||||
"(long objectRef) {\n",
|
||||
" long baseptr = 0;\n"
|
||||
" *($cbaseclass **)&baseptr = *($cclass **)&objectRef;\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue