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.
 
 
 
 
 

86 lines
1.2 KiB

#include "../Tests.h"
namespace OverlappingNamespace
{
enum ColorsEnum {
white,
black,
red,
blue,
green,
};
class DLL_API InBaseLib
{
public:
InBaseLib()
{
};
};
}
class DLL_API Base
{
public:
Base(int i);
Base();
int parent();
private:
int b;
};
class DLL_API Base2 : public Base
{
public:
Base2(int i);
Base2();
virtual void parent(int i);
};
class DLL_API Abstract
{
public:
virtual void abstractFunction() = 0;
};
template <typename T>
class TemplateClass
{
union
{
int i;
float f;
};
T t;
};
template <typename T>
class DLL_API TemplateWithIndependentFields
{
public:
void useDependentPointer(const T* t);
};
class DLL_API HasVirtualInCore
{
public:
HasVirtualInCore();
HasVirtualInCore(TemplateClass<HasVirtualInCore> t);
virtual int virtualInCore(int parameter);
};
class DLL_API DerivedFromSecondaryBaseInDependency;
typedef DerivedFromSecondaryBaseInDependency RenameDerivedBeforeBase;
class DLL_API SecondaryBase
{
public:
SecondaryBase();
~SecondaryBase();
void function();
};