Age | Commit message (Collapse) | Author |
|
SIZE_FMT gets the size of a cstr with the given sprintf formatted
string and arguments using `snprintf`.
vec_append_fmt formats a cstr with the given sprintf arguments then
appends it to the given vector.
This simplifies a little bit of the wordy implementation of the
assembler.
|
|
|
|
A vec_t is a dynamic array, separate to a buffer. Should make it
easier to distinguish purposes using these two data types.
|
|
A buffer should be a strictly sized array representing a file in
memory. No dynamic size functions.
|
|
|
|
|
|
|
|
|
|
lib.(h|c) basically has structures and functions I no longer want to
stare at in main.c
|