Merge pull request #71 from wg-romank/master

Update README.md example to comply with latest API
This commit is contained in:
George Marques
2021-03-01 08:55:44 -03:00
committed by GitHub

View File

@@ -110,7 +110,7 @@ godot_variant GDN_EXPORT some_test_procedure(void *data, godot_array *args) {
godot_variant_new_int(&ret, 42);
godot_string s;
godot_string_new_unicode_data(&s, L"Hello World", 11);
godot_string_new_with_wide_string(&s, L"Hello World", 11);
godot_print(&s);
godot_string_destroy(&s);