1
0

buildable again

This commit is contained in:
dtb 2023-08-30 14:51:52 -04:00
parent bacd306020
commit 565ef686c5
2 changed files with 4 additions and 2 deletions

View File

@ -1,2 +1 @@
libfatstr.o: libfatstr.c libfatstr.h libfatstr.o:
$(CC) -c -g -o libfatstr.o libfatstr.c

View File

@ -18,6 +18,8 @@ struct FatStr{
* Otherwise returns p. */ * Otherwise returns p. */
struct FatStr *FatStr_append(struct FatStr *p, FatStr_scalar_t c); struct FatStr *FatStr_append(struct FatStr *p, FatStr_scalar_t c);
struct FatStr *FatStr_construct(struct FatStr *p);
/* FatStr_convert /* FatStr_convert
* - FatStr *p: object to convert * - FatStr *p: object to convert
* Returns NULL if the operation failed (due to malloc(3)) or if p was NULL. * Returns NULL if the operation failed (due to malloc(3)) or if p was NULL.
@ -30,5 +32,6 @@ char *FatStr_convert(struct FatStr *p);
* Returns NULL. */ * Returns NULL. */
struct FatStr *FatStr_destruct(struct FatStr *p); struct FatStr *FatStr_destruct(struct FatStr *p);
struct FatStr *FatStr_grow(struct FatStr *p, size_t units);
struct FatStr *FatStr_initialize(struct FatStr *p); struct FatStr *FatStr_initialize(struct FatStr *p);
struct FatStr *FatStr_trimfront(struct FatStr *p, size_t units); struct FatStr *FatStr_trimfront(struct FatStr *p, size_t units);