Add C# support std::unique_ptr inputs
Based on Java implementation.
This commit is contained in:
parent
8bd9eb3f16
commit
c737bd5713
5 changed files with 103 additions and 4 deletions
|
|
@ -53,7 +53,7 @@ struct KlassInheritance : virtual Klass {
|
|||
}
|
||||
};
|
||||
|
||||
#if defined(SWIGJAVA)
|
||||
#if defined(SWIGJAVA) || defined (SWIGCSHARP)
|
||||
std::string takeKlassUniquePtr(std::unique_ptr<Klass> k) {
|
||||
return std::string(k->getLabel());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue