godot/platform/android
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
..
export Removed unnecessary assignments 2017-08-21 15:15:55 -04:00
globals -Renamed GlobalConfig to ProjectSettings, makes more sense. 2017-07-19 17:06:03 -03:00
java fix UnsatisfiedLinkError when quitting 2017-08-23 03:14:51 +02:00
android_native_app_glue.c
android_native_app_glue.h
AndroidManifest.xml.template Several fixes to Android exporter and port. 2017-03-23 20:14:12 -03:00
audio_driver_jandroid.cpp Removed unnecessary assignments 2017-08-21 15:15:55 -04:00
audio_driver_jandroid.h Synchronize parameter names in definition and declaration 2017-08-16 17:22:23 +02:00
audio_driver_opensl.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
audio_driver_opensl.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
build.gradle.template update gradle-android buildtool for master 2017-07-30 11:30:20 +07:00
cpu-features.c
cpu-features.h
detect.py Merge pull request #9838 from RandomShaper/android-arm64 2017-08-01 22:24:31 +02:00
dir_access_android.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
dir_access_android.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
dir_access_jandroid.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
dir_access_jandroid.h Synchronize parameter names in definition and declaration 2017-08-16 17:22:23 +02:00
file_access_android.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
file_access_android.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
file_access_jandroid.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
file_access_jandroid.h Synchronize parameter names in definition and declaration 2017-08-16 17:22:23 +02:00
godot_android.cpp Removed unnecessary returns and break statements 2017-08-22 13:01:57 -04:00
ifaddrs_android.cpp Minor code formatting in platform/android 2016-07-21 12:07:01 +02:00
ifaddrs_android.h
java_class_wrapper.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
java_class_wrapper.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
java_glue.cpp Fixes for new two-dash long command line arguments 2017-08-21 08:09:22 +02:00
java_glue.h fix UnsatisfiedLinkError when quitting 2017-08-23 03:14:51 +02:00
logo.png
os_android.cpp removed calls to cursor_set_visible on all platforms fixes #10167 2017-08-08 14:04:22 +02:00
os_android.h Makes all Godot API's methods Lower Case 2017-08-07 18:24:35 +07:00
platform_config.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
power_android.cpp Improve documentation of thirdparty code snippets 2017-05-07 11:42:37 +02:00
power_android.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
run_icon.png Use custom native-run icons for Android and HTML5 2017-06-27 21:06:26 +02:00
SCsub Add support for ARMv8 (64-bit) on Android 2017-07-25 12:28:46 +02:00
sign.sh
thread_jandroid.cpp Makes all Godot API's methods Lower Case 2017-08-07 18:24:35 +07:00
thread_jandroid.h Makes all Godot API's methods Lower Case 2017-08-07 18:24:35 +07:00