godot/modules/gdnative
AndreaCatania 98ceb60eb4 Refactors the memnew_placement.
With this commit the macro `memnew_placement` uses the standard memory
placement syntax: `new (mem) TheClass()`, and removes the outdated and
not used syntax:
```
_ALWAYS_INLINE_ void *operator new(size_t p_size, void *p_pointer, size_t check, const char *p_description) {
```

Thanks to this change, the function `memnew_placement` call is compatible with
any class, and can also initialize classes with non-empty constructor:
```
// This is valid, like before.
memnew_placement(mem, Variant);

// This works too:
memnew_placement(mem, Variant(123));
```
2021-08-13 10:18:34 +02:00
..
android Modernize Thread 2021-01-29 12:02:13 +01:00
doc_classes doc: Use self-closing tags for `return` and `argument` 2021-07-30 15:29:52 +02:00
gdnative Refactors the memnew_placement. 2021-08-13 10:18:34 +02:00
icons
include [Net] Implement RPC channels in MultiplayerAPI. 2021-07-30 17:29:50 +02:00
nativescript Implement inherits_script() for NativeScript and PluginScript 2021-08-02 17:50:50 +02:00
net [Net] Implement RPC channels in MultiplayerAPI. 2021-07-30 17:29:50 +02:00
pluginscript Implement inherits_script() for NativeScript and PluginScript 2021-08-02 17:50:50 +02:00
tests Use C++ iterators for Lists in many situations 2021-07-23 17:38:28 -04:00
text Merge pull request #51178 from Geometror/layout-options-textline-textparagraph 2021-08-11 07:51:57 +02:00
videodecoder Implement the ability to disable classes 2021-07-13 09:25:14 -03:00
xr Implement the ability to disable classes 2021-07-13 09:25:14 -03:00
SCsub [Complex Text Layouts] Implement GDNative interface for TextServer. 2020-11-26 13:55:29 +02:00
config.py Core: Always enable ptrcall, remove PTRCALL_ENABLED define 2020-11-25 14:08:17 +01:00
gdnative.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
gdnative.h Rename Reference to RefCounted 2021-06-11 18:48:42 +02:00
gdnative_api.json Add stereoscopic rendering through multiview 2021-06-13 22:52:20 +10:00
gdnative_builders.py [Complex Text Layouts] Implement GDNative interface for TextServer. 2020-11-26 13:55:29 +02:00
gdnative_library_editor_plugin.cpp Optimize StringName usage 2021-07-18 21:20:02 -03:00
gdnative_library_editor_plugin.h Initialize class/struct variables with default values in modules/ 2021-02-08 10:57:18 +01:00
gdnative_library_singleton_editor.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
gdnative_library_singleton_editor.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
register_types.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
register_types.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00