- Add detailed build and bootstrap instructions to README.md. - Convert all source and header files from .c/.h to .c.md/.h.md. - Add bootstrap.sh script for automated building across version history. - Update Makefile and sources.mk to reflect new markdown-based source organization.
24 lines
331 B
Markdown
24 lines
331 B
Markdown
```c
|
|
#ifndef UTILS_H
|
|
# define UTILS_H
|
|
|
|
# include <stdint.h>
|
|
# include <stdio.h>
|
|
|
|
char *
|
|
read_line(FILE *f);
|
|
|
|
int8_t
|
|
starts_with(const char *str, const char *prefix);
|
|
|
|
char *
|
|
extract_fence_ext(const char *fence);
|
|
|
|
const char *
|
|
extract_file_ext(const char *path);
|
|
|
|
const char *
|
|
infer_ext_from_filename(const char *path);
|
|
|
|
#endif
|
|
```
|