summaryrefslogtreecommitdiffstats
path: root/platform/windows/os_windows.h
diff options
context:
space:
mode:
authorDmitriySalnikov <salnikov.mine@yandex.ru>2024-01-11 15:33:35 +0300
committerDmitriySalnikov <salnikov.mine@yandex.ru>2024-04-05 00:14:23 +0300
commitb73e740786302b3e53f66d57f7a798031b1b0d26 (patch)
tree1475e65278973629ede4683aa2db174a6d87b5ad /platform/windows/os_windows.h
parentf6a78f83aa4b74aa5cb80ca2e3419448b1998e4f (diff)
downloadredot-engine-b73e740786302b3e53f66d57f7a798031b1b0d26.tar.gz
Add renaming of PDB files to avoid blocking them
Diffstat (limited to 'platform/windows/os_windows.h')
-rw-r--r--platform/windows/os_windows.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/platform/windows/os_windows.h b/platform/windows/os_windows.h
index c703a3ddca..c506af13b2 100644
--- a/platform/windows/os_windows.h
+++ b/platform/windows/os_windows.h
@@ -127,6 +127,9 @@ class OS_Windows : public OS {
bool dwrite_init = false;
bool dwrite2_init = false;
+ HashMap<void *, String> temp_libraries;
+
+ void _remove_temp_library(void *p_library_handle);
String _get_default_fontname(const String &p_font_name) const;
DWRITE_FONT_WEIGHT _weight_to_dw(int p_weight) const;
DWRITE_FONT_STRETCH _stretch_to_dw(int p_stretch) const;
@@ -155,7 +158,7 @@ public:
virtual Error get_entropy(uint8_t *r_buffer, int p_bytes) override;
- virtual Error open_dynamic_library(const String &p_path, void *&p_library_handle, bool p_also_set_library_path = false, String *r_resolved_path = nullptr) override;
+ virtual Error open_dynamic_library(const String &p_path, void *&p_library_handle, bool p_also_set_library_path = false, String *r_resolved_path = nullptr, bool p_generate_temp_files = false) override;
virtual Error close_dynamic_library(void *p_library_handle) override;
virtual Error get_dynamic_library_symbol_handle(void *p_library_handle, const String &p_name, void *&p_symbol_handle, bool p_optional = false) override;