diff options
author | Thomas Herzog <thomas.herzog@mail.com> | 2017-07-27 13:03:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-27 13:03:10 +0200 |
commit | 3c53b3560fe1ae6b476cf6941ca0d7c79e0093a7 (patch) | |
tree | 87dc648f137a9d0d47766b281427766f621ad48f /core/os/os.h | |
parent | 411f09a512d5847fc9c6270439308d1e3093f211 (diff) | |
parent | 135c2112ad87265d35899dede34c3a7e06ec2f54 (diff) |
Merge pull request #9907 from karroffel/nativescript-init-call
NativeScript changes and OS symbol lookup optional error handling
Diffstat (limited to 'core/os/os.h')
-rw-r--r-- | core/os/os.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/os/os.h b/core/os/os.h index 957c1d0ba7..703c6a6bcd 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -184,9 +184,9 @@ public: virtual void set_ime_position(const Point2 &p_pos) {} - virtual Error open_dynamic_library(const String p_path, void *&p_library_handle) { return ERR_UNAVAILABLE; }; - virtual Error close_dynamic_library(void *p_library_handle) { return ERR_UNAVAILABLE; }; - virtual Error get_dynamic_library_symbol_handle(void *p_library_handle, const String p_name, void *&p_symbol_handle) { return ERR_UNAVAILABLE; }; + virtual Error open_dynamic_library(const String p_path, void *&p_library_handle) { return ERR_UNAVAILABLE; } + virtual Error close_dynamic_library(void *p_library_handle) { return ERR_UNAVAILABLE; } + virtual Error get_dynamic_library_symbol_handle(void *p_library_handle, const String p_name, void *&p_symbol_handle, bool p_optional = false) { return ERR_UNAVAILABLE; } virtual void set_keep_screen_on(bool p_enabled); virtual bool is_keep_screen_on() const; |