Add C# support std::unique_ptr inputs

Based on Java implementation.
This commit is contained in:
William S Fulton 2022-07-15 17:41:58 +01:00
commit c737bd5713
5 changed files with 103 additions and 4 deletions

View file

@ -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());
}