/* * Upon loading the module it should inspect the scenario table * for any unresolved references to the MALoptimizer and set the * callback function. */ str optimizer_prelude(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p) { (void) cntxt; (void) stk; (void) mb; (void) p; updateScenario("mal", "MALoptimizer", (MALfcn) MALoptimizer); optimizerInit(); return MAL_SUCCEED; }
/* * Upon loading the module it should inspect the scenario table * for any unresolved references to the MALoptimizer and set the * callback function. */ str optimizer_prelude(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p) { (void) cntxt; (void) stk; (void) mb; (void) p; updateScenario("mal", "MALoptimizer", (MALfcn) MALoptimizer); optimizerInit(); //return compileAllOptimizers(cntxt); causes problems return MAL_SUCCEED; }
void CDynamicMapClient::scenarioUpdated(CObject* highLevel, bool willTP, uint32 /* startingActIndex */) { //H_AUTO(R2_CDynamicMapClient_scenarioUpdated) updateScenario(highLevel, willTP); }