mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-06 02:58:18 -04:00
Stub out most of DynamicLink.cpp and more of c_dylink.cpp
This code wasn't used (no dynamic linking) and was causing various compiler warnings that don't make sense to clean up. Get rid of it.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include "os_report.h"
|
||||
#include "dusk/logging.h"
|
||||
|
||||
#if !TARGET_PC
|
||||
DynamicModuleControlBase* DynamicModuleControlBase::mFirst;
|
||||
|
||||
DynamicModuleControlBase* DynamicModuleControlBase::mLast;
|
||||
@@ -139,6 +140,7 @@ DynamicModuleControl::DynamicModuleControl(char const* name) {
|
||||
mSize = 0;
|
||||
mAsyncLoadCallback = NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
u32 DynamicModuleControl::sAllocBytes;
|
||||
|
||||
@@ -169,6 +171,7 @@ bool DynamicModuleControl::initialize() {
|
||||
return true;
|
||||
}
|
||||
|
||||
#if !TARGET_PC
|
||||
bool DynamicModuleControl::callback(void* moduleControlPtr) {
|
||||
DynamicModuleControl* moduleControl = (DynamicModuleControl*)moduleControlPtr;
|
||||
return moduleControl->do_load();
|
||||
@@ -484,3 +487,5 @@ extern "C" void ModuleDestructorsX(void (*const *dtors)()) {
|
||||
dtors++;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user