Add missing GetPtr() for Dictionary<> and Array<>

Add missing GetPtr() method for generic versions of Dictionary
and Array to fix #20705.
This commit is contained in:
Xavier Cho 2018-08-04 14:19:50 +09:00
parent 6c569c90b6
commit 5d2c239772
2 changed files with 10 additions and 0 deletions

View file

@ -331,5 +331,10 @@ namespace Godot
{
return GetEnumerator();
}
internal IntPtr GetPtr()
{
return objectArray.GetPtr();
}
}
}

View file

@ -397,5 +397,10 @@ namespace Godot
{
return GetEnumerator();
}
internal IntPtr GetPtr()
{
return objectDict.GetPtr();
}
}
}