summaryrefslogtreecommitdiff
path: root/core/os
diff options
context:
space:
mode:
authorRuslan Mustakov <r.mustakov@gmail.com>2017-12-16 13:10:26 +0700
committerRuslan Mustakov <r.mustakov@gmail.com>2017-12-16 13:10:26 +0700
commit9d6d20e67c72614b6c8ff0296564230f4f75caa0 (patch)
tree0e9bc7853d64b968ae495bb312a97136627b5934 /core/os
parenta5db25bd27351564f391c5f0516dff64ea61544b (diff)
Remove get_stack_bottom
It's not used in godot-nim any longer and there were no other uses for it.
Diffstat (limited to 'core/os')
-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();