Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
9d6d20e6
Commit
9d6d20e6
authored
Dec 16, 2017
by
Ruslan Mustakov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove get_stack_bottom
It's not used in godot-nim any longer and there were no other uses for it.
parent
a5db25bd
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
25 deletions
+0
-25
os.cpp
core/os/os.cpp
+0
-4
os.h
core/os/os.h
+0
-7
gdnative.cpp
modules/gdnative/gdnative/gdnative.cpp
+0
-4
gdnative_api.json
modules/gdnative/gdnative_api.json
+0
-6
gdnative.h
modules/gdnative/include/gdnative/gdnative.h
+0
-4
No files found.
core/os/os.cpp
View file @
9d6d20e6
...
...
@@ -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
;
...
...
core/os/os.h
View file @
9d6d20e6
...
...
@@ -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
();
...
...
modules/gdnative/gdnative/gdnative.cpp
View file @
9d6d20e6
...
...
@@ -52,10 +52,6 @@ godot_object GDAPI *godot_global_get_singleton(char *p_name) {
return
(
godot_object
*
)
Engine
::
get_singleton
()
->
get_singleton_object
(
String
(
p_name
));
}
// result shouldn't be freed
void
GDAPI
*
godot_get_stack_bottom
()
{
return
OS
::
get_singleton
()
->
get_stack_bottom
();
}
// MethodBind API
godot_method_bind
GDAPI
*
godot_method_bind_get_method
(
const
char
*
p_classname
,
const
char
*
p_methodname
)
{
...
...
modules/gdnative/gdnative_api.json
View file @
9d6d20e6
...
...
@@ -5533,12 +5533,6 @@
]
},
{
"name"
:
"godot_get_stack_bottom"
,
"return_type"
:
"void *"
,
"arguments"
:
[
]
},
{
"name"
:
"godot_method_bind_get_method"
,
"return_type"
:
"godot_method_bind *"
,
"arguments"
:
[
...
...
modules/gdnative/include/gdnative/gdnative.h
View file @
9d6d20e6
...
...
@@ -212,10 +212,6 @@ void GDAPI godot_object_destroy(godot_object *p_o);
godot_object
GDAPI
*
godot_global_get_singleton
(
char
*
p_name
);
// result shouldn't be freed
////// OS API
void
GDAPI
*
godot_get_stack_bottom
();
// returns stack bottom of the main thread
////// MethodBind API
typedef
struct
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment