From 48440138271f0d9e906ebca57972a489ce6e4aff Mon Sep 17 00:00:00 2001 From: sheepandshepherd Date: Wed, 31 May 2017 23:44:20 +0200 Subject: [PATCH] Fix GDNative PoolVector typos --- modules/gdnative/godot/godot_pool_arrays.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/gdnative/godot/godot_pool_arrays.cpp b/modules/gdnative/godot/godot_pool_arrays.cpp index cb0b5d2f119..ff4586ebe70 100644 --- a/modules/gdnative/godot/godot_pool_arrays.cpp +++ b/modules/gdnative/godot/godot_pool_arrays.cpp @@ -124,8 +124,8 @@ void GDAPI godot_pool_byte_array_destroy(godot_pool_byte_array *p_pba) { // int void GDAPI godot_pool_int_array_new(godot_pool_int_array *p_pba) { - PoolVector *pba = (PoolVector *)p_pba; - memnew_placement(pba, PoolVector); + PoolVector *pba = (PoolVector *)p_pba; + memnew_placement(pba, PoolVector); } void GDAPI godot_pool_int_array_new_copy(godot_pool_int_array *p_dest, const godot_pool_int_array *p_src) { @@ -135,9 +135,9 @@ void GDAPI godot_pool_int_array_new_copy(godot_pool_int_array *p_dest, const god } void GDAPI godot_pool_int_array_new_with_array(godot_pool_int_array *p_pba, const godot_array *p_a) { - PoolVector *pba = (PoolVector *)p_pba; + PoolVector *pba = (PoolVector *)p_pba; Array *a = (Array *)p_a; - memnew_placement(pba, PoolVector); + memnew_placement(pba, PoolVector); pba->resize(a->size()); for (size_t i = 0; i < a->size(); i++) { @@ -203,8 +203,8 @@ void GDAPI godot_pool_int_array_destroy(godot_pool_int_array *p_pba) { // real void GDAPI godot_pool_real_array_new(godot_pool_real_array *p_pba) { - PoolVector *pba = (PoolVector *)p_pba; - memnew_placement(pba, PoolVector); + PoolVector *pba = (PoolVector *)p_pba; + memnew_placement(pba, PoolVector); } void GDAPI godot_pool_real_array_new_copy(godot_pool_real_array *p_dest, const godot_pool_real_array *p_src) { @@ -214,9 +214,9 @@ void GDAPI godot_pool_real_array_new_copy(godot_pool_real_array *p_dest, const g } void GDAPI godot_pool_real_array_new_with_array(godot_pool_real_array *p_pba, const godot_array *p_a) { - PoolVector *pba = (PoolVector *)p_pba; + PoolVector *pba = (PoolVector *)p_pba; Array *a = (Array *)p_a; - memnew_placement(pba, PoolVector); + memnew_placement(pba, PoolVector); pba->resize(a->size()); for (size_t i = 0; i < a->size(); i++) {