diff options
| author | Mistivia <i@mistivia.com> | 2024-02-16 11:07:30 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2024-02-16 11:07:30 +0800 |
| commit | e1a5304af2c35ff83819546953309764e24656d4 (patch) | |
| tree | 8992bf2a489e4dc7f6ff3b9661aae5a50d08cab9 /advent-of-code/2023/lib/str.h | |
| parent | a19a1b970e5dd6983be8660ef6e0f5929fb5a149 (diff) | |
refactor from c to racket
Diffstat (limited to 'advent-of-code/2023/lib/str.h')
| -rw-r--r-- | advent-of-code/2023/lib/str.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/advent-of-code/2023/lib/str.h b/advent-of-code/2023/lib/str.h deleted file mode 100644 index 214e297..0000000 --- a/advent-of-code/2023/lib/str.h +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (C) 2023 Mistivia <i@mistivia.com> -// Licensed under GPLv3. See LICENSE for details. - -#ifndef DYMC_STR_H_ -#define DYMC_STR_H_ - -#include <stdio.h> -#include <stddef.h> - -char *str_strip(const char *str); -void* str_split(const char *str, char delim); - - -// string stream -void* new_ss(); -void ss_add(void *self, char *format, ...); -void ss_addc(void *self, char c); -char *ss_cstr(void *self); -size_t ss_size(void* self); - -char *fgetline(FILE *fp); -int fpeek(FILE *fp); - -#endif |
