|
|
|
|
@ -324,6 +324,7 @@ DLL_API int operator==(const Foo2& a, const Foo2& b)
@@ -324,6 +324,7 @@ DLL_API int operator==(const Foo2& a, const Foo2& b)
|
|
|
|
|
typedef int (*DelegateInGlobalNamespace)(int); |
|
|
|
|
typedef int (STDCALL *DelegateStdCall)(int); |
|
|
|
|
typedef int (CDECL *DelegateCDecl)(int n); |
|
|
|
|
typedef void(*DelegateNullCheck)(void); |
|
|
|
|
|
|
|
|
|
struct DLL_API TestDelegates |
|
|
|
|
{ |
|
|
|
|
@ -345,6 +346,8 @@ struct DLL_API TestDelegates
@@ -345,6 +346,8 @@ struct DLL_API TestDelegates
|
|
|
|
|
|
|
|
|
|
void MarshalDelegateInAnotherUnit(DelegateInAnotherUnit del); |
|
|
|
|
|
|
|
|
|
DelegateNullCheck MarshalNullDelegate(); |
|
|
|
|
|
|
|
|
|
DelegateInClass A; |
|
|
|
|
DelegateInGlobalNamespace B; |
|
|
|
|
// As long as we can't marshal them make sure they're ignored
|
|
|
|
|
|