godot/platform
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
..
android Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
haiku p_screen param from get_screen_* funcs now default to the current screen 2017-08-21 18:28:29 -03:00
iphone Removed unnecessary assignments 2017-08-21 15:15:55 -04:00
javascript p_screen param from get_screen_* funcs now default to the current screen 2017-08-21 18:28:29 -03:00
osx Allow building fat binaries with osxcross 2017-08-23 15:44:22 +02:00
server Buildsystem: Improve detect.py readability and fix issues 2017-07-01 08:20:51 +02:00
uwp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
windows Merge pull request #10487 from marcelofg55/curscr_as_default 2017-08-22 08:12:04 +02:00
x11 Merge pull request #10487 from marcelofg55/curscr_as_default 2017-08-22 08:12:04 +02:00