virtualx-engine/core/os
Hein-Pieter van Braam cacced7e50 Convert Object::cast_to() to the static version
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.

This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.

It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24 23:08:24 +02:00
..
copymem.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
dir_access.cpp Style: Apply clang-format on all files 2017-07-30 22:53:40 +02:00
dir_access.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
file_access.cpp Synchronize parameter names in definition and declaration 2017-08-16 17:22:23 +02:00
file_access.h Synchronize parameter names in definition and declaration 2017-08-16 17:22:23 +02:00
input.cpp ClassDB: Provide the enum name of integer constants 2017-08-20 22:07:43 +02:00
input.h Removal of InputEvent as built-in Variant type.. 2017-05-20 17:05:38 -03:00
input_event.cpp Show proper string with InputEvent.as_text() 2017-08-25 01:14:36 +09:00
input_event.h Show proper string with InputEvent.as_text() 2017-08-25 01:14:36 +09:00
keyboard.cpp Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTER 2017-08-06 16:26:07 +03:00
keyboard.h Synchronize parameter names in definition and declaration 2017-08-16 17:22:23 +02:00
main_loop.cpp Added notification const NOTIFICATION_WM_ABOUT 2017-08-17 11:28:45 -03:00
main_loop.h Added notification const NOTIFICATION_WM_ABOUT 2017-08-17 11:28:45 -03:00
memory.cpp Use atomics for memory use tracking 2017-08-01 01:50:56 +02:00
memory.h Use atomics for memory use tracking 2017-08-01 01:50:56 +02:00
mutex.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
mutex.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
os.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
os.h p_screen param from get_screen_* funcs now default to the current screen 2017-08-21 18:28:29 -03:00
power.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
rw_lock.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
rw_lock.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
SCsub style: Fix PEP8 whitespace issues in Python files 2016-11-01 00:35:16 +01:00
semaphore.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
semaphore.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
shell.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
shell.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
thread.cpp Makes all Godot API's methods Lower Case 2017-08-07 18:24:35 +07:00
thread.h Makes all Godot API's methods Lower Case 2017-08-07 18:24:35 +07:00
thread_dummy.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
thread_dummy.h Makes all Godot API's methods Lower Case 2017-08-07 18:24:35 +07:00
thread_safe.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
thread_safe.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00