diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-09-02 09:39:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 09:39:29 +0200 |
commit | 39228830ce726657d4b81a5eab0d68cf9530434d (patch) | |
tree | bfba93bc14d1ff1010f99daebc03946423c04d54 /core/os/os.h | |
parent | 6e89d371cee27974ce73200d788522329900d517 (diff) | |
parent | 0cc05c5a31b6c6d3db76b5982f3f36919e137500 (diff) |
Merge pull request #41355 from Xrayez/port-gdscript-tests
Port GDScript test/debugging tools
Diffstat (limited to 'core/os/os.h')
-rw-r--r-- | core/os/os.h | 4 |
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; |