mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-01 23:50:43 +03:00
jit runtime small refactorings
This commit is contained in:
parent
1d5c6860dc
commit
07b7abefa4
3 changed files with 59 additions and 45 deletions
|
@ -19,9 +19,9 @@ struct Context;
|
|||
extern "C" {
|
||||
|
||||
// Silence missing-variable-declaration clang warning
|
||||
extern void *dynamiccompile_modules_head;
|
||||
extern const void *dynamiccompile_modules_head;
|
||||
|
||||
void *dynamiccompile_modules_head = nullptr;
|
||||
const void *dynamiccompile_modules_head = nullptr;
|
||||
#ifdef _WIN32
|
||||
__declspec(dllimport)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue