1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

[GDNative] added Read and Write accessors to pool arrays

This commit is contained in:
Karroffel
2017-11-03 18:17:58 +01:00
parent 8e145fa1a8
commit af5c6be074
3 changed files with 791 additions and 1 deletions

View File

@@ -1295,6 +1295,20 @@
["const godot_int", "p_size"]
]
},
{
"name": "godot_pool_byte_array_read",
"return_type": "godot_pool_byte_array_read_access *",
"arguments": [
["const godot_pool_byte_array *", "p_self"]
]
},
{
"name": "godot_pool_byte_array_write",
"return_type": "godot_pool_byte_array_write_access *",
"arguments": [
["godot_pool_byte_array *", "p_self"]
]
},
{
"name": "godot_pool_byte_array_set",
"return_type": "void",
@@ -1405,6 +1419,20 @@
["const godot_int", "p_size"]
]
},
{
"name": "godot_pool_int_array_read",
"return_type": "godot_pool_int_array_read_access *",
"arguments": [
["const godot_pool_int_array *", "p_self"]
]
},
{
"name": "godot_pool_int_array_write",
"return_type": "godot_pool_int_array_write_access *",
"arguments": [
["godot_pool_int_array *", "p_self"]
]
},
{
"name": "godot_pool_int_array_set",
"return_type": "void",
@@ -1515,6 +1543,20 @@
["const godot_int", "p_size"]
]
},
{
"name": "godot_pool_real_array_read",
"return_type": "godot_pool_real_array_read_access *",
"arguments": [
["const godot_pool_real_array *", "p_self"]
]
},
{
"name": "godot_pool_real_array_write",
"return_type": "godot_pool_real_array_write_access *",
"arguments": [
["godot_pool_real_array *", "p_self"]
]
},
{
"name": "godot_pool_real_array_set",
"return_type": "void",
@@ -1625,6 +1667,20 @@
["const godot_int", "p_size"]
]
},
{
"name": "godot_pool_string_array_read",
"return_type": "godot_pool_string_array_read_access *",
"arguments": [
["const godot_pool_string_array *", "p_self"]
]
},
{
"name": "godot_pool_string_array_write",
"return_type": "godot_pool_string_array_write_access *",
"arguments": [
["godot_pool_string_array *", "p_self"]
]
},
{
"name": "godot_pool_string_array_set",
"return_type": "void",
@@ -1735,6 +1791,20 @@
["const godot_int", "p_size"]
]
},
{
"name": "godot_pool_vector2_array_read",
"return_type": "godot_pool_vector2_array_read_access *",
"arguments": [
["const godot_pool_vector2_array *", "p_self"]
]
},
{
"name": "godot_pool_vector2_array_write",
"return_type": "godot_pool_vector2_array_write_access *",
"arguments": [
["godot_pool_vector2_array *", "p_self"]
]
},
{
"name": "godot_pool_vector2_array_set",
"return_type": "void",
@@ -1845,6 +1915,20 @@
["const godot_int", "p_size"]
]
},
{
"name": "godot_pool_vector3_array_read",
"return_type": "godot_pool_vector3_array_read_access *",
"arguments": [
["const godot_pool_vector3_array *", "p_self"]
]
},
{
"name": "godot_pool_vector3_array_write",
"return_type": "godot_pool_vector3_array_write_access *",
"arguments": [
["godot_pool_vector3_array *", "p_self"]
]
},
{
"name": "godot_pool_vector3_array_set",
"return_type": "void",
@@ -1955,6 +2039,20 @@
["const godot_int", "p_size"]
]
},
{
"name": "godot_pool_color_array_read",
"return_type": "godot_pool_color_array_read_access *",
"arguments": [
["const godot_pool_color_array *", "p_self"]
]
},
{
"name": "godot_pool_color_array_write",
"return_type": "godot_pool_color_array_write_access *",
"arguments": [
["godot_pool_color_array *", "p_self"]
]
},
{
"name": "godot_pool_color_array_set",
"return_type": "void",
@@ -1986,6 +2084,314 @@
["godot_pool_color_array *", "p_self"]
]
},
{
"name": "godot_pool_byte_array_read_access_ptr",
"return_type": "const uint8_t *",
"arguments": [
["const godot_pool_byte_array_read_access *", "p_read"]
]
},
{
"name": "godot_pool_byte_array_read_access_operator_assign",
"return_type": "void",
"arguments": [
["godot_pool_byte_array_read_access *", "p_read"],
["godot_pool_byte_array_read_access *", "p_other"]
]
},
{
"name": "godot_pool_byte_array_read_access_destroy",
"return_type": "void",
"arguments": [
["godot_pool_byte_array_read_access *", "p_read"]
]
},
{
"name": "godot_pool_int_array_read_access_ptr",
"return_type": "const godot_int *",
"arguments": [
["const godot_pool_int_array_read_access *", "p_read"]
]
},
{
"name": "godot_pool_int_array_read_access_operator_assign",
"return_type": "void",
"arguments": [
["godot_pool_int_array_read_access *", "p_read"],
["godot_pool_int_array_read_access *", "p_other"]
]
},
{
"name": "godot_pool_int_array_read_access_destroy",
"return_type": "void",
"arguments": [
["godot_pool_int_array_read_access *", "p_read"]
]
},
{
"name": "godot_pool_real_array_read_access_ptr",
"return_type": "const godot_real *",
"arguments": [
["const godot_pool_real_array_read_access *", "p_read"]
]
},
{
"name": "godot_pool_real_array_read_access_operator_assign",
"return_type": "void",
"arguments": [
["godot_pool_real_array_read_access *", "p_read"],
["godot_pool_real_array_read_access *", "p_other"]
]
},
{
"name": "godot_pool_real_array_read_access_destroy",
"return_type": "void",
"arguments": [
["godot_pool_real_array_read_access *", "p_read"]
]
},
{
"name": "godot_pool_string_array_read_access_ptr",
"return_type": "const godot_string *",
"arguments": [
["const godot_pool_string_array_read_access *", "p_read"]
]
},
{
"name": "godot_pool_string_array_read_access_operator_assign",
"return_type": "void",
"arguments": [
["godot_pool_string_array_read_access *", "p_read"],
["godot_pool_string_array_read_access *", "p_other"]
]
},
{
"name": "godot_pool_string_array_read_access_destroy",
"return_type": "void",
"arguments": [
["godot_pool_string_array_read_access *", "p_read"]
]
},
{
"name": "godot_pool_vector2_array_read_access_ptr",
"return_type": "const godot_vector2 *",
"arguments": [
["const godot_pool_vector2_array_read_access *", "p_read"]
]
},
{
"name": "godot_pool_vector2_array_read_access_operator_assign",
"return_type": "void",
"arguments": [
["godot_pool_vector2_array_read_access *", "p_read"],
["godot_pool_vector2_array_read_access *", "p_other"]
]
},
{
"name": "godot_pool_vector2_array_read_access_destroy",
"return_type": "void",
"arguments": [
["godot_pool_vector2_array_read_access *", "p_read"]
]
},
{
"name": "godot_pool_vector3_array_read_access_ptr",
"return_type": "const godot_vector3 *",
"arguments": [
["const godot_pool_vector3_array_read_access *", "p_read"]
]
},
{
"name": "godot_pool_vector3_array_read_access_operator_assign",
"return_type": "void",
"arguments": [
["godot_pool_vector3_array_read_access *", "p_read"],
["godot_pool_vector3_array_read_access *", "p_other"]
]
},
{
"name": "godot_pool_vector3_array_read_access_destroy",
"return_type": "void",
"arguments": [
["godot_pool_vector3_array_read_access *", "p_read"]
]
},
{
"name": "godot_pool_color_array_read_access_ptr",
"return_type": "const godot_color *",
"arguments": [
["const godot_pool_color_array_read_access *", "p_read"]
]
},
{
"name": "godot_pool_color_array_read_access_operator_assign",
"return_type": "void",
"arguments": [
["godot_pool_color_array_read_access *", "p_read"],
["godot_pool_color_array_read_access *", "p_other"]
]
},
{
"name": "godot_pool_color_array_read_access_destroy",
"return_type": "void",
"arguments": [
["godot_pool_color_array_read_access *", "p_read"]
]
},
{
"name": "godot_pool_byte_array_write_access_ptr",
"return_type": "uint8_t *",
"arguments": [
["const godot_pool_byte_array_write_access *", "p_write"]
]
},
{
"name": "godot_pool_byte_array_write_access_operator_assign",
"return_type": "void",
"arguments": [
["godot_pool_byte_array_write_access *", "p_write"],
["godot_pool_byte_array_write_access *", "p_other"]
]
},
{
"name": "godot_pool_byte_array_write_access_destroy",
"return_type": "void",
"arguments": [
["godot_pool_byte_array_write_access *", "p_write"]
]
},
{
"name": "godot_pool_int_array_write_access_ptr",
"return_type": "godot_int *",
"arguments": [
["const godot_pool_int_array_write_access *", "p_write"]
]
},
{
"name": "godot_pool_int_array_write_access_operator_assign",
"return_type": "void",
"arguments": [
["godot_pool_int_array_write_access *", "p_write"],
["godot_pool_int_array_write_access *", "p_other"]
]
},
{
"name": "godot_pool_int_array_write_access_destroy",
"return_type": "void",
"arguments": [
["godot_pool_int_array_write_access *", "p_write"]
]
},
{
"name": "godot_pool_real_array_write_access_ptr",
"return_type": "godot_real *",
"arguments": [
["const godot_pool_real_array_write_access *", "p_write"]
]
},
{
"name": "godot_pool_real_array_write_access_operator_assign",
"return_type": "void",
"arguments": [
["godot_pool_real_array_write_access *", "p_write"],
["godot_pool_real_array_write_access *", "p_other"]
]
},
{
"name": "godot_pool_real_array_write_access_destroy",
"return_type": "void",
"arguments": [
["godot_pool_real_array_write_access *", "p_write"]
]
},
{
"name": "godot_pool_string_array_write_access_ptr",
"return_type": "godot_string *",
"arguments": [
["const godot_pool_string_array_write_access *", "p_write"]
]
},
{
"name": "godot_pool_string_array_write_access_operator_assign",
"return_type": "void",
"arguments": [
["godot_pool_string_array_write_access *", "p_write"],
["godot_pool_string_array_write_access *", "p_other"]
]
},
{
"name": "godot_pool_string_array_write_access_destroy",
"return_type": "void",
"arguments": [
["godot_pool_string_array_write_access *", "p_write"]
]
},
{
"name": "godot_pool_vector2_array_write_access_ptr",
"return_type": "godot_vector2 *",
"arguments": [
["const godot_pool_vector2_array_write_access *", "p_write"]
]
},
{
"name": "godot_pool_vector2_array_write_access_operator_assign",
"return_type": "void",
"arguments": [
["godot_pool_vector2_array_write_access *", "p_write"],
["godot_pool_vector2_array_write_access *", "p_other"]
]
},
{
"name": "godot_pool_vector2_array_write_access_destroy",
"return_type": "void",
"arguments": [
["godot_pool_vector2_array_write_access *", "p_write"]
]
},
{
"name": "godot_pool_vector3_array_write_access_ptr",
"return_type": "godot_vector3 *",
"arguments": [
["const godot_pool_vector3_array_write_access *", "p_write"]
]
},
{
"name": "godot_pool_vector3_array_write_access_operator_assign",
"return_type": "void",
"arguments": [
["godot_pool_vector3_array_write_access *", "p_write"],
["godot_pool_vector3_array_write_access *", "p_other"]
]
},
{
"name": "godot_pool_vector3_array_write_access_destroy",
"return_type": "void",
"arguments": [
["godot_pool_vector3_array_write_access *", "p_write"]
]
},
{
"name": "godot_pool_color_array_write_access_ptr",
"return_type": "godot_color *",
"arguments": [
["const godot_pool_color_array_write_access *", "p_write"]
]
},
{
"name": "godot_pool_color_array_write_access_operator_assign",
"return_type": "void",
"arguments": [
["godot_pool_color_array_write_access *", "p_write"],
["godot_pool_color_array_write_access *", "p_other"]
]
},
{
"name": "godot_pool_color_array_write_access_destroy",
"return_type": "void",
"arguments": [
["godot_pool_color_array_write_access *", "p_write"]
]
},
{
"name": "godot_array_new",
"return_type": "void",