diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-22 09:00:15 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-22 09:00:15 +0200 |
| commit | 8b72e391c7185e3da0dfbf0ab60068ac37e4d5cc (patch) | |
| tree | b79d8154f16a0dadd8d8265d32b8bd95e96263aa /utils/h48_to_lst.c | |
| parent | 510a7471348788fccba6b7c4b9f7b7cc9aee6ba9 (diff) | |
| download | nissy-core-8b72e391c7185e3da0dfbf0ab60068ac37e4d5cc.tar.gz nissy-core-8b72e391c7185e3da0dfbf0ab60068ac37e4d5cc.zip | |
Removed old scripts and updated public API
Diffstat (limited to 'utils/h48_to_lst.c')
| -rw-r--r-- | utils/h48_to_lst.c | 22 |
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 | |||
| 9 | int 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 | } | ||
