Tools and libraries to glue C/C++ APIs to high-level languages
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

20 lines
418 B

#include "../Tests.h"
// Verifies the header is included when the delegate is defined in a different file
typedef void (*DelegateInAnotherUnit)();
// Tests automatic generation of anonymous delegates in different translation units
namespace DelegateNamespace
{
namespace Nested
{
void DLL_API f3(void (*)());
}
void DLL_API f4(void (*)());
}
namespace AnotherUnit
{
void DLL_API f();
}