summaryrefslogtreecommitdiff
path: root/src/puzzles/puzzle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/puzzles/puzzle.h')
-rw-r--r--src/puzzles/puzzle.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/puzzles/puzzle.h b/src/puzzles/puzzle.h
index 20193ca..70c6cad 100644
--- a/src/puzzles/puzzle.h
+++ b/src/puzzles/puzzle.h
@@ -56,11 +56,9 @@ typedef struct {
Test *Tests;
} Puzzle;
-Puzzle *ReadPuzzleFromFile(const char *path);
-
-void FreePuzzle(Puzzle *self);
/// A prebuilt puzzle. Used for debuging
Puzzle *GetTestPuzzle();
+Puzzle *ReadPuzzleFromFile(const char *path);
typedef struct {
char *stdout_sb;
@@ -70,6 +68,10 @@ typedef struct {
// Don't put anything in out_res, it will be overriten.
// The stdout of the VM will be there
SubmitionResult *SubmitSolution(Puzzle *self, char *script);
+
+void PrintPuzzle(Puzzle *puzzle);
+
void FreeSunmitionResult(SubmitionResult *res);
+void FreePuzzle(Puzzle *self);
#endif // PUZZLE_H