Update README.md example to comply with latest API

This commit is contained in:
Roman Kotelnikov
2020-04-18 18:09:33 +08:00
parent d93984d820
commit afd4b26c1b

View File

@@ -109,7 +109,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);