Skip to content

Commit

Permalink
Revert "Add basic cairo_run skeleton"
Browse files Browse the repository at this point in the history
This reverts commit 8f8d65e.
  • Loading branch information
fmoletta committed Jul 27, 2023
1 parent 8f8d65e commit 30915ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 23 deletions.
10 changes: 0 additions & 10 deletions src/cairo_run.c

This file was deleted.

7 changes: 0 additions & 7 deletions src/cairo_run.h

This file was deleted.

9 changes: 3 additions & 6 deletions src/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "cairo_run.h"
#include "decoder.h"
#include "utils.h"
#include <stdio.h>

int main(int argc, char **argv) {
Expand All @@ -8,10 +9,6 @@ int main(int argc, char **argv) {
}
char * program_file_name = argv[1];
printf("Running program: %s\n", program_file_name);
ResultCairoRun result = cairo_run(program_file_name);
if (result.is_error) {
printf("Error: %s\n", result.error_message);
}
printf("Run succesful\n");

return 0;
}

0 comments on commit 30915ed

Please sign in to comment.