Hal refactored (#99)
This commit is contained in:
committed by
GitHub
parent
0188ce721c
commit
33bb742dfb
@@ -1,12 +0,0 @@
|
||||
#include "Simulator.h"
|
||||
|
||||
MainFunction mainFunction = nullptr;
|
||||
|
||||
void setMainForSim(MainFunction newMainFunction) {
|
||||
mainFunction = newMainFunction;
|
||||
}
|
||||
|
||||
void executeMainFunction() {
|
||||
assert(mainFunction);
|
||||
mainFunction();
|
||||
}
|
||||
Reference in New Issue
Block a user