Skip to content

Commit

Permalink
Mark NativeScripts as having delayed metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
Relintai committed Oct 23, 2023
1 parent ab8fb2b commit de91cf5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions modules/gdnative/nativescript/nativescript.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
#ifndef NATIVESCRIPT_H
#define NATIVESCRIPT_H

#include "core/io/resource_loader.h"
#include "core/io/resource_saver.h"
#include "core/containers/oa_hash_map.h"
#include "core/containers/ordered_hash_map.h"
#include "core/os/thread_safe.h"
#include "core/containers/self_list.h"
#include "core/io/resource_loader.h"
#include "core/io/resource_saver.h"
#include "core/object/resource.h"
#include "core/os/safe_refcount.h"
#include "core/object/script_language.h"
#include "core/containers/self_list.h"
#include "core/os/safe_refcount.h"
#include "core/os/thread_safe.h"
#include "scene/main/node.h"

#include "../gdnative.h"
Expand Down Expand Up @@ -338,6 +338,7 @@ class NativeScriptLanguage : public ScriptLanguage {
virtual void profiling_stop();
virtual int profiling_get_accumulated_data(ProfilingInfo *p_info_arr, int p_info_max);
virtual int profiling_get_frame_data(ProfilingInfo *p_info_arr, int p_info_max);
virtual bool has_delayed_script_class_metadata() const { return true; }

int register_binding_functions(pandemonium_instance_binding_functions p_binding_functions);
void unregister_binding_functions(int p_idx);
Expand Down

0 comments on commit de91cf5

Please sign in to comment.