summaryrefslogtreecommitdiff
path: root/core/os/os.h
diff options
context:
space:
mode:
authorAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2020-08-18 17:24:45 +0300
committerAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2020-09-02 01:43:26 +0300
commit0cc05c5a31b6c6d3db76b5982f3f36919e137500 (patch)
tree7fa6a781b2ecd61ae3bc4372d7c12129ba13eba5 /core/os/os.h
parent6b7e50ab3410542d341bd1dd1ec70123fc218ecc (diff)
Register GDScript test tools as test commands to run via command-line
Diffstat (limited to 'core/os/os.h')
-rw-r--r--core/os/os.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/os/os.h b/core/os/os.h
index 48dae99188..8e5c0c26e0 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -86,11 +86,13 @@ public:
protected:
friend class Main;
+ // Needed by tests to setup command-line args.
+ friend int test_main(int argc, char *argv[]);
HasServerFeatureCallback has_server_feature_callback = nullptr;
RenderThreadMode _render_thread_mode = RENDER_THREAD_SAFE;
- // functions used by main to initialize/deinitialize the OS
+ // Functions used by Main to initialize/deinitialize the OS.
void add_logger(Logger *p_logger);
virtual void initialize() = 0;