ed3015e979
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. |
||
---|---|---|
.. | ||
extension_api_dump.cpp | ||
extension_api_dump.h | ||
gdextension.cpp | ||
gdextension.h | ||
gdextension_interface.cpp | ||
gdextension_interface.h | ||
gdextension_manager.cpp | ||
gdextension_manager.h | ||
make_interface_dumper.py | ||
make_wrappers.py | ||
SCsub |