virtualx-engine/core/extension
Jan Haller ed3015e979 GDExtension: construct StringName directly from char*
So far, an indirection via String was necessary, causing at least 2 allocations and copies (String; String inside StringName).
Since StringNames often refer to string literals, this allows them to be directly constructed from C strings.

There are two formats: Latin-1 and UTF-8.

The Latin-1 constructor also provides the `p_is_static` flag: when the source has static storage duration, no copy/allocation will be needed.
However, the extension developer needs to uphold this lifetime guarantee.
2023-09-24 18:18:05 +02:00
..
extension_api_dump.cpp Exclude unexposed classes from the extension_api.json 2023-08-29 08:45:58 -05:00
extension_api_dump.h Add a backwards-compatibility system for GDExtension method 2023-05-15 12:05:40 +02:00
gdextension.cpp Add functions for non-ptr style virtual calls in GDExtension 2023-09-19 22:33:32 -04:00
gdextension.h Fix Object::notification order 2023-08-30 00:15:55 +02:00
gdextension_interface.cpp GDExtension: construct StringName directly from char* 2023-09-24 18:18:05 +02:00
gdextension_interface.h GDExtension: construct StringName directly from char* 2023-09-24 18:18:05 +02:00
gdextension_manager.cpp Godot Android plugin re-architecture 2023-09-03 17:04:10 -07:00
gdextension_manager.h Add support for icons in GDExtension classes 2023-03-31 21:39:02 +02:00
make_interface_dumper.py Compress embedded GDExtension interface 2023-05-16 22:16:45 +02:00
make_wrappers.py [GDExtension] Use function names with underscore for TextServer extension, add macros to generate wrappers for module functions. 2022-09-28 10:04:11 +03:00
SCsub Rename all gdnative occurences to gdextension 2022-12-12 11:04:57 +01:00