summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/GodotGlobal.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/GodotGlobal.cpp b/src/core/GodotGlobal.cpp
index 23054cf..ba984a8 100644
--- a/src/core/GodotGlobal.cpp
+++ b/src/core/GodotGlobal.cpp
@@ -97,6 +97,10 @@ void Godot::gdnative_terminate(godot_gdnative_terminate_options *options) {
// reserved for future use.
}
+void Godot::gdnative_profiling_add_data(const char *p_signature, uint64_t p_time) {
+ godot::nativescript_1_1_api->godot_nativescript_profiling_add_data(p_signature, p_time);
+}
+
void Godot::nativescript_init(void *handle) {
godot::_RegisterState::nativescript_handle = handle;