observe:
(file/write out
"#include <janet.h>\n"
"static const unsigned char bytes[] = {"
(string/join (interpose ", " chunks))
"};\n\n"
"const unsigned char *" name "_embed = bytes;\n"
"size_t " name "_embed_size = sizeof(bytes);\n")and yet:
$ jdoc file/write
cfunction
src/core/io.c on line 251, column 1
(file/write f bytes)
Writes to a file. 'bytes' must be string, buffer, or symbol.
Returns the file.
references: