From 0870b84abc2f080a451a309a8ca4ea53d595f260 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Fri, 27 May 2005 22:40:40 +0000 Subject: [PATCH] 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 --- Source/Modules/csharp.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Modules/csharp.cxx b/Source/Modules/csharp.cxx index 907319357..e2cc40663 100644 --- a/Source/Modules/csharp.cxx +++ b/Source/Modules/csharp.cxx @@ -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",