Fixed the advanced pass for properties to skip ignored methods
@ -25,7 +25,7 @@ namespace CppSharp.Passes
{
this.log = log;
foreach (var method in @class.Methods.Where(
m => !m.IsConstructor && !m.IsDestructor && !m.IsOperator))
m => !m.IsConstructor && !m.IsDestructor && !m.IsOperator && m.IsGenerated))
DistributeMethod(method);
}
@ -257,3 +257,13 @@ void HasPrivateOverrideBase::privateOverride(int i)
void HasPrivateOverride::privateOverride(int i)
IgnoredType<int> PropertyWithIgnoredType::ignoredType()
return _ignoredType;
void PropertyWithIgnoredType::setIgnoredType(const IgnoredType<int> &value)
_ignoredType = value;
@ -216,3 +216,17 @@ class DLL_API AbstractWithProperty
public:
virtual int property() = 0;
};
template <typename T>
class DLL_API IgnoredType
class DLL_API PropertyWithIgnoredType
IgnoredType<int> ignoredType();
void setIgnoredType(const IgnoredType<int>& value);
private:
IgnoredType<int> _ignoredType;