summaryrefslogtreecommitdiffstats
path: root/platform/ios/export/export_plugin.cpp
diff options
context:
space:
mode:
authorEmmanuel Leblond <emmanuel.leblond@gmail.com>2023-05-13 19:05:54 +0200
committerEmmanuel Leblond <emmanuel.leblond@gmail.com>2023-05-15 17:14:57 +0200
commite785dd9dd954cc2ab5060c189886bbcd75d7b1da (patch)
tree0d45417a221e82dde824e3092f14ef5fe4b12cc1 /platform/ios/export/export_plugin.cpp
parent5c653c27cdf779e1e70a16ec9514435537a01779 (diff)
downloadredot-engine-e785dd9dd954cc2ab5060c189886bbcd75d7b1da.tar.gz
Improve user-friendliness of "return value as function param" pattern in 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.
Diffstat (limited to 'platform/ios/export/export_plugin.cpp')
0 files changed, 0 insertions, 0 deletions