diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-09-14 09:12:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-14 09:12:26 +0200 |
commit | a6c02c2320a5eb754ae3f056bec68ac13d2adbc5 (patch) | |
tree | 6e39aaf32452a415f1c8444ffd6947d2bf476a99 /modules/gdnative/gdnative_api.json | |
parent | 909c06ee0f0ab5feced1c9c99a725f7a423ff9f8 (diff) | |
parent | e0f763f1c9ee53d8000d97862fe1172c16548579 (diff) |
Merge pull request #22035 from karroffel/gdnative-variant-op
[GDNative] add Variant::Operator
Diffstat (limited to 'modules/gdnative/gdnative_api.json')
-rw-r--r-- | modules/gdnative/gdnative_api.json | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/gdnative/gdnative_api.json b/modules/gdnative/gdnative_api.json index dce3d7e96b..16a34a9a33 100644 --- a/modules/gdnative/gdnative_api.json +++ b/modules/gdnative/gdnative_api.json @@ -94,6 +94,24 @@ ["godot_transform *", "r_dest"], ["const godot_quat *", "p_quat"] ] + }, + { + "name": "godot_variant_get_operator_name", + "return_type": "godot_string", + "arguments": [ + ["godot_variant_operator", "p_op"] + ] + }, + { + "name": "godot_variant_evaluate", + "return_type": "void", + "arguments": [ + ["godot_variant_operator", "p_op"], + ["const godot_variant *", "p_a"], + ["const godot_variant *", "p_b"], + ["godot_variant *", "r_ret"], + ["godot_bool *", "r_valid"] + ] } ] }, |