Browse Source

CSharp.cs doesnt contain CL class nor myfn

issue
josetr 3 years ago
parent
commit
4eb412784b
  1. 7
      tests/CL.h
  2. 2
      tests/CSharp/CSharp.cpp
  3. 3
      tests/CSharp/CSharp.h

7
tests/CL.h

@ -0,0 +1,7 @@
#pragma once
#include "Tests.h"
class DLL_API CL {
};

2
tests/CSharp/CSharp.cpp

@ -1,5 +1,7 @@
#include "CSharp.h" #include "CSharp.h"
void myfn(CL cl);
Foo::Foo(const QString& name) Foo::Foo(const QString& name)
{ {
} }

3
tests/CSharp/CSharp.h

@ -10,6 +10,7 @@
#include "AnotherUnit.h" #include "AnotherUnit.h"
#include "ExcludedUnit.hpp" #include "ExcludedUnit.hpp"
#include "CSharpTemplates.h" #include "CSharpTemplates.h"
#include "../CL.h"
struct SmallPOD struct SmallPOD
{ {
@ -17,6 +18,8 @@ struct SmallPOD
int b; int b;
}; };
DLL_API void myfn(CL cl);
class DLL_API Foo class DLL_API Foo
{ {
public: public:

Loading…
Cancel
Save