aboutsummaryrefslogtreecommitdiff
path: root/utils/h48_to_lst.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-04-22 14:17:03 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-04-22 14:17:03 +0200
commitac652bb6fb45099008e862e3ced650299dc3ebb7 (patch)
tree12fb1c902c271fbeac41c4ee416cf1cd76b16fd7 /utils/h48_to_lst.c
parent71e104d84b3538e15f27df79b151e6b49cbad1eb (diff)
parente391c4624055138f075c0e5772ccaf8ede094b5a (diff)
downloadnissy-core-ac652bb6fb45099008e862e3ced650299dc3ebb7.tar.gz
nissy-core-ac652bb6fb45099008e862e3ced650299dc3ebb7.zip
Merge branch 'master' into extend_moves
Diffstat (limited to 'utils/h48_to_lst.c')
-rw-r--r--utils/h48_to_lst.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/utils/h48_to_lst.c b/utils/h48_to_lst.c
deleted file mode 100644
index 03265b7..0000000
--- a/utils/h48_to_lst.c
+++ /dev/null
@@ -1,22 +0,0 @@
1#include <stdio.h>
2#include <inttypes.h>
3#include <stdbool.h>
4
5#include "../src/nissy.h"
6
7#define STRLENMAX 1000
8
9int main(void) {
10 char strin[STRLENMAX], strout[STRLENMAX];
11 int result;
12
13 fgets(strin, STRLENMAX, stdin);
14
15 result = nissy_convertcube("H48", "LST", strin, strout);
16 if (result)
17 fprintf(stderr, "Error converting cube: code %d\n", result);
18
19 fputs(strout, stdout);
20
21 return 0;
22}

Generated with cgit - Back to sebastiano.tronto.net