Uniform handling of SWIGEXPORT across SWIG (was DllExport)

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-05-27 22:40:40 +00:00
commit 0870b84abc

View file

@ -507,7 +507,7 @@ class CSHARP : public Language {
if (!is_void_return)
Wrapper_add_localv(f,"jresult", c_return_type, "jresult = 0",NIL);
Printv(f->def, " DllExport ", c_return_type, " SWIGSTDCALL ", wname, "(", NIL);
Printv(f->def, " SWIGEXPORT ", c_return_type, " SWIGSTDCALL ", wname, "(", NIL);
// Emit all of the local variables for holding arguments.
emit_args(t,l,f);
@ -1368,7 +1368,7 @@ class CSHARP : public Language {
Replaceall(imclass_cppcasts_code, "$csclassname", proxy_class_name);
Printv(upcasts_code,
"DllExport $cbaseclass * SWIGSTDCALL CSharp_$imclazznameUpcast",
"SWIGEXPORT $cbaseclass * SWIGSTDCALL CSharp_$imclazznameUpcast",
"($cclass *objectRef) {\n",
" return ($cbaseclass *)objectRef;\n"
"}\n",