mirror of
https://github.com/godotengine/godot-headers.git
synced 2026-01-03 18:09:13 +03:00
Merge pull request #71 from wg-romank/master
Update README.md example to comply with latest API
This commit is contained in:
@@ -110,7 +110,7 @@ godot_variant GDN_EXPORT some_test_procedure(void *data, godot_array *args) {
|
|||||||
godot_variant_new_int(&ret, 42);
|
godot_variant_new_int(&ret, 42);
|
||||||
|
|
||||||
godot_string s;
|
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_print(&s);
|
||||||
|
|
||||||
godot_string_destroy(&s);
|
godot_string_destroy(&s);
|
||||||
|
|||||||
Reference in New Issue
Block a user