summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-11-30 10:00:10 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-11-30 10:00:55 -0300
commit9678231b109c333a5273325c8758241310cd27f4 (patch)
tree8f0ae2410169b471c3a29059408053c4341ec56c /core
parent831502edddd3d10f786214494b3cd8b996cfc9c1 (diff)
Changed the dynamic library open function to allow setting the path of the library to open extra libraries.
Diffstat (limited to 'core')
-rw-r--r--core/os/os.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os.h b/core/os/os.h
index c72696fe37..91fbf082bf 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -195,7 +195,7 @@ public:
virtual void set_ime_position(const Point2 &p_pos) {}
virtual void set_ime_intermediate_text_callback(ImeCallback p_callback, void *p_inp) {}
- virtual Error open_dynamic_library(const String p_path, void *&p_library_handle) { return ERR_UNAVAILABLE; }
+ virtual Error open_dynamic_library(const String p_path, void *&p_library_handle,bool p_also_set_library_path=false) { 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; }