mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-08 20:06:03 +03:00
some jit code cleaup and clang-format
This commit is contained in:
parent
80528f80ef
commit
98ed035af7
5 changed files with 22 additions and 22 deletions
|
@ -290,14 +290,8 @@ void rtCompileProcessImplSoInternal(const RtCompileModuleList *modlist_head,
|
|||
} // anon namespace
|
||||
|
||||
extern "C" {
|
||||
|
||||
#ifdef _WIN32
|
||||
__declspec(dllexport)
|
||||
#else
|
||||
__attribute__ ((visibility ("default")))
|
||||
#endif
|
||||
void JIT_API_ENTRYPOINT(const void *modlist_head, const Context *context,
|
||||
size_t contextSize) {
|
||||
EXTERNAL void JIT_API_ENTRYPOINT(const void *modlist_head,
|
||||
const Context *context, size_t contextSize) {
|
||||
assert(nullptr != context);
|
||||
assert(sizeof(*context) == contextSize);
|
||||
rtCompileProcessImplSoInternal(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue