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:
parent
de35943f2f
commit
0870b84abc
1 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue