diff options
author | Karroffel <therzog@mail.de> | 2017-04-03 16:11:38 +0200 |
---|---|---|
committer | Karroffel <therzog@mail.de> | 2017-04-03 17:20:11 +0200 |
commit | fd553087867187220d4f6b8217854dd8e9be2667 (patch) | |
tree | ba4c8b2611b1a574056e2f4ae694f18b737ee0e6 /core/os | |
parent | 67f59bc2d9e2ce5faa9507017d49827753981e1e (diff) |
added dlscript module
This module was written by bojidar-bg and me, with the help of ClikCode and touilleMan.
This adds a module to Godot that enables the use of dynamic libraries as a source for scripts.
That also allows third party libraries to be linked to Godot more easily and without creating modules.
For a readme see https://github.com/GodotNativeTools/godot_headers/blob/master/README.md
Diffstat (limited to 'core/os')
-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 dbcbaaedce..0febfb70cf 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -177,9 +177,9 @@ public: virtual void set_borderless_window(int p_borderless) {} virtual bool get_borderless_window() { return 0; } - 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) { return ERR_UNAVAILABLE; }; virtual void set_keep_screen_on(bool p_enabled); virtual bool is_keep_screen_on() const; |