1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

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(); return GetEnumerator();
} }
internal IntPtr GetPtr()
{
return objectArray.GetPtr();
}
} }
} }

View File

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