Skip to content

Commit

Permalink
Updated testlib.h patch to new version
Browse files Browse the repository at this point in the history
  • Loading branch information
cip999 committed Jan 4, 2023
1 parent 3359d23 commit 7785d40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions p2d/generate_testlib_for_domjudge.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
NEW_REGISTER_INTERACTION = '''\
void registerInteraction(int argc, char *argv[]) {
__testlib_ensuresPreconditions();
TestlibFinalizeGuard::registered = true;
testlibMode = _interactor;
__testlib_set_binary(stdin);
Expand Down Expand Up @@ -57,6 +58,7 @@
NEW_REGISTER_TESTLIB_CMD = '''\
void registerTestlibCmd(int argc, char *argv[]) {
__testlib_ensuresPreconditions();
TestlibFinalizeGuard::registered = true;
testlibMode = _checker;
__testlib_set_binary(stdin);
Expand Down

0 comments on commit 7785d40

Please sign in to comment.