mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Use a patch_AddAssertion function instead of extern assertions
This commit is contained in:
@@ -459,6 +459,10 @@ static int32_t computeRPNExpr(Patch const &patch, std::vector<Symbol> const &fil
|
||||
return popRPN(patch);
|
||||
}
|
||||
|
||||
Assertion &patch_AddAssertion() {
|
||||
return assertions.emplace_front();
|
||||
}
|
||||
|
||||
void patch_CheckAssertions() {
|
||||
verbosePrint("Checking assertions...\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user