virtualx-engine/core/os
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
..
keyboard.cpp Rename "Control" key to "Ctrl" and add "_pressed" suffix to all InputEventWithModifiers properties/methods 2021-05-07 14:00:50 -06:00
keyboard.h Use Key enum instead of plain integers 2021-08-10 16:26:55 -05:00
main_loop.cpp Use doubles for time everywhere in Timer/SceneTree 2021-07-26 02:00:48 -04:00
main_loop.h Use doubles for time everywhere in Timer/SceneTree 2021-07-26 02:00:48 -04:00
memory.cpp Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
memory.h Refactors the memnew_placement. 2021-08-13 10:18:34 +02:00
midi_driver.cpp Use mouse and joypad enums instead of plain integers 2021-06-20 11:54:24 -04:00
midi_driver.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
mutex.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
mutex.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
os.cpp OS: Fix used resource debug prints 2021-08-06 11:03:26 +02:00
os.h [Headless] Add --headless switch (no rendering, no audio). 2021-08-03 17:45:50 +02:00
pool_allocator.cpp Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
pool_allocator.h Fix various typos with codespell 2021-07-25 11:21:51 +02:00
rw_lock.h Modernize RWLock 2021-01-19 11:53:10 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
semaphore.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
spin_lock.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
thread.cpp Move caller_id init to Thread constructor to fix UWP build. 2021-03-09 08:40:30 +02:00
thread.h Move caller_id init to Thread constructor to fix UWP build. 2021-03-09 08:40:30 +02:00
thread_safe.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
threaded_array_processor.h Fix thread_process_array when NO_THREADS. 2021-02-26 12:13:20 +01:00
time.cpp Add Time singleton 2021-06-11 09:32:39 -04:00
time.h Add Time singleton 2021-06-11 09:32:39 -04:00