virtualx-engine/core/extension
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
..
extension_api_dump.cpp Improve extension system 2021-08-05 14:57:31 -03:00
extension_api_dump.h Implement native extension system 2021-06-25 17:32:45 -03:00
gdnative_interface.cpp Refactors the memnew_placement. 2021-08-13 10:18:34 +02:00
gdnative_interface.h Rename GDNative call error enum values to use GDNATIVE prefix 2021-08-09 19:21:37 -03:00
native_extension.cpp Improve extension system 2021-08-05 14:57:31 -03:00
native_extension.h Improve extension system 2021-08-05 14:57:31 -03:00
native_extension_manager.cpp Implement native extension system 2021-06-25 17:32:45 -03:00
native_extension_manager.h Implement native extension system 2021-06-25 17:32:45 -03:00
SCsub Implement native extension system 2021-06-25 17:32:45 -03:00