$dllimport special variable to specify the DllImport attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
83247f3df4
commit
d4b19157c3
1 changed files with 2 additions and 2 deletions
|
|
@ -83,7 +83,7 @@ DllExport void SWIGSTDCALL SWIGRegisterExceptionCallbacks_$module(SWIG_CSharpExc
|
|||
static SWIGExceptionDelegate argumentOutOfRangeDelegate = new SWIGExceptionDelegate(ThrowArgumentOutOfRangeException);
|
||||
static SWIGExceptionDelegate nullReferenceDelegate = new SWIGExceptionDelegate(ThrowNullReferenceException);
|
||||
|
||||
[DllImport("$module", EntryPoint="SWIGRegisterExceptionCallbacks_$module")]
|
||||
[DllImport("$dllimport", EntryPoint="SWIGRegisterExceptionCallbacks_$module")]
|
||||
public static extern void SWIGRegisterExceptionCallbacks_$module(
|
||||
SWIGExceptionDelegate systemExceptionDelegate,
|
||||
SWIGExceptionDelegate outOfMemoryDelegate,
|
||||
|
|
@ -136,7 +136,7 @@ static SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback = NULL;
|
|||
public delegate string SWIGStringDelegate(string message);
|
||||
static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString);
|
||||
|
||||
[DllImport("$module", EntryPoint="SWIGRegisterStringCallback_$module")]
|
||||
[DllImport("$dllimport", EntryPoint="SWIGRegisterStringCallback_$module")]
|
||||
public static extern void SWIGRegisterStringCallback_$module(SWIGStringDelegate stringDelegate);
|
||||
|
||||
static string CreateString(string cString) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue