summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-12-16 11:00:44 +0100
committerGitHub <noreply@github.com>2017-12-16 11:00:44 +0100
commit0a762a0e393295c200e61e323a74eda47948f509 (patch)
treee192dafc1db3b00fbd8a18430e73eaae2abff080 /core
parentb07049faeab1add2950a84bee81b2e9b62898482 (diff)
parent9d6d20e67c72614b6c8ff0296564230f4f75caa0 (diff)
Merge pull request #14726 from endragor/remove-get-stack-bottom
Remove get_stack_bottom
Diffstat (limited to 'core')
-rw-r--r--core/os/os.cpp4
-rw-r--r--core/os/os.h7
2 files changed, 0 insertions, 11 deletions
diff --git a/core/os/os.cpp b/core/os/os.cpp
index 8088a6fa74..d81e70e612 100644
--- a/core/os/os.cpp
+++ b/core/os/os.cpp
@@ -606,10 +606,6 @@ bool OS::has_feature(const String &p_feature) {
return false;
}
-void *OS::get_stack_bottom() const {
- return _stack_bottom;
-}
-
OS::OS() {
void *volatile stack_bottom;
diff --git a/core/os/os.h b/core/os/os.h
index 41500acd93..d9f7b91daa 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -445,13 +445,6 @@ public:
virtual void force_process_input(){};
bool has_feature(const String &p_feature);
- /**
- * Returns the stack bottom of the main thread of the application.
- * This may be of use when integrating languages with garbage collectors that
- * need to check whether a pointer is on the stack.
- */
- virtual void *get_stack_bottom() const;
-
bool is_hidpi_allowed() const { return _allow_hidpi; }
OS();
virtual ~OS();