aboutsummaryrefslogtreecommitdiff
path: root/obc.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-12-24 23:08:52 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-12-24 23:08:52 +0000
commit3c39df6c9534d5c45427339e028cee38968adbff (patch)
treec39bf8956ff0c0109502cd9f48eef26c7c40583e /obc.c
parent70cfeac9959310944619bcf45f039d48f10f8c20 (diff)
downloadobf-3c39df6c9534d5c45427339e028cee38968adbff.tar.gz
obf-3c39df6c9534d5c45427339e028cee38968adbff.tar.bz2
obf-3c39df6c9534d5c45427339e028cee38968adbff.zip
Implement SIZE_FMT and vec_append_fmt
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.
Diffstat (limited to 'obc.c')
0 files changed, 0 insertions, 0 deletions