
write generic stralloc and array textcode wrapper functions change textcode API to use long instead of int add cescape fmt and scan functions to textcode add fmt_foldwhitespace to textcode
7 lines
77 B
C
7 lines
77 B
C
#include "fmt.h"
|
|
|
|
char fmt_tohex(char c) {
|
|
return c>=10?c-10+'a':c+'0';
|
|
}
|
|
|