virtualx-engine/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
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
config.py
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
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
gdnative_library_singleton_editor.h
register_types.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
register_types.h
SCsub