summaryrefslogtreecommitdiffstats
path: root/core/extension/gdextension_interface.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Rework GDExtension interface from a struct to loading function pointersDavid Snopek2023-05-161-213/+1683
|
* Improve user-friendliness of "return value as function param" pattern in ↵Emmanuel Leblond2023-05-151-28/+49
| | | | | | | | | | GDExtension API This commit introduce separate types (e.g. GDNativeStringPtr vs GDNativeUninitializedStringPtr) depending on if the pointed data is already initialized (C++ style where constructor is alway called when create a variable even if it is to be passed as return value) or not (C style). On top of that, small changes has been made to `GDNativeInterface` so that it methods are consistent on using uninitialized return value.
* Add ValidatedCall to MethodBindJuan Linietsky2023-04-301-0/+1
| | | | | | | * This should optimize GDScript function calling _enormously_. * It also should simplify the GDScript VM considerably. NOTE: GDExtension calling performance has most likely been affected until going via ptrcall is fixed.
* GDExtension: array_set_typed() accepts enum instead of uint32_tJan Haller2023-02-081-1/+1
|
* Use GDExtensionBool in GDExtension interfaceHaoyu Qiu2023-02-081-6/+6
|
* Expose `_err_print_error` with message parameter to GDExtensionMikael Hermansson2023-02-071-3/+6
|
* Remove unnecessary stdio.h from gdextension interfaceHaoyu Qiu2023-02-061-1/+0
|
* GDScript: Fix issues with typed arraysDmitrii Maganov2023-01-311-0/+1
|
* Move Array:set_typed to internal GDExtension structure and unexposed it.bruvzg2023-01-301-0/+1
|
* Fix use of `bool` in extension headerJan Haller2023-01-191-2/+2
|
* [GDExtension] Expose some low level functions and String operators.bruvzg2023-01-191-0/+20
|
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Extension header: amend const correctness of `p_args` parametersJan Haller2022-12-141-12/+12
| | | | | | | | A while ago, argument arrays were passed as const GDNativeTypePtr* (void* const*) This was changed to GDNativeConstTypePtr* (void const**), adding const on the value but removing it on the pointer level. This commit changes argument types to const GDExtensionConstTypePtr* (void const* const*). Besides object pointers, the same change is applied to variant pointers.
* Improve logic around using Ref<T> with GDExtension virtual functionsBastiaan Olij2022-12-131-0/+7
|
* Rename all gdnative occurences to gdextensionGilles Roudière2022-12-121-0/+612
Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension ->Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface