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.
 
 
 
 
 

45 lines
797 B

#include "CLI.h"
int Types::AttributedSum(int A, int B)
{
return A + B;
}
std::string Date::testStdString(std::string s)
{
return s + "_test";
}
void testFreeFunction()
{
}
struct IncompleteStruct {};
IncompleteStruct* createIncompleteStruct()
{
return new IncompleteStruct();
}
DLL_API void useIncompleteStruct(IncompleteStruct * a)
{
return;
}
TestMappedTypeNonConstRefParam::TestMappedTypeNonConstRefParam(const std::string str)
{
m_str = str;
}
const TestMappedTypeNonConstRefParam & TestMappedTypeNonConstRefParam::operator=(const std::string str)
{
m_str = str;
return *this;
}
void TestMappedTypeNonConstRefParamConsumer::ChangePassedMappedTypeNonConstRefParam(TestMappedTypeNonConstRefParam & v)
{
v = "ChangePassedMappedTypeNonConstRefParam";
}