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:
parent
6c569c90b6
commit
5d2c239772
2 changed files with 10 additions and 0 deletions
|
@ -331,5 +331,10 @@ namespace Godot
|
|||
{
|
||||
return GetEnumerator();
|
||||
}
|
||||
|
||||
internal IntPtr GetPtr()
|
||||
{
|
||||
return objectArray.GetPtr();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -397,5 +397,10 @@ namespace Godot
|
|||
{
|
||||
return GetEnumerator();
|
||||
}
|
||||
|
||||
internal IntPtr GetPtr()
|
||||
{
|
||||
return objectDict.GetPtr();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue