diff options
author | Ignacio Etcheverry <neikeq@users.noreply.github.com> | 2017-10-07 20:12:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-07 20:12:25 +0200 |
commit | 5a49106ff45be32018793eeca3fb168b3a374faf (patch) | |
tree | a4599339285ac74c5fd9e64b24ad294d95cd561f /modules/mono/mono_gd/gd_mono_assembly.h | |
parent | bd10a002402de6e3a69a17af604784ea7f5b3330 (diff) | |
parent | 5ab3537179a552f8d95e680ec0e35621615248f4 (diff) |
Merge pull request #11900 from neikeq/a
Fix assembly load hooks and sizeof wrong type
Diffstat (limited to 'modules/mono/mono_gd/gd_mono_assembly.h')
-rw-r--r-- | modules/mono/mono_gd/gd_mono_assembly.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/mono/mono_gd/gd_mono_assembly.h b/modules/mono/mono_gd/gd_mono_assembly.h index 89e091549c..710b674622 100644 --- a/modules/mono/mono_gd/gd_mono_assembly.h +++ b/modules/mono/mono_gd/gd_mono_assembly.h @@ -86,6 +86,14 @@ class GDMonoAssembly { Vector<uint8_t> pdb_data; #endif + static bool no_search; + static Vector<String> search_dirs; + + static MonoAssembly *_search_hook(MonoAssemblyName *aname, void *user_data); + static MonoAssembly *_preload_hook(MonoAssemblyName *aname, char **assemblies_path, void *user_data); + + static MonoAssembly *_load_assembly_from(const String &p_name, const String &p_path); + friend class GDMono; static void initialize(); |