mirror of
https://github.com/janet-lang/janet
synced 2025-06-23 08:54:12 +00:00
parent
54170d92db
commit
1872bd344f
@ -322,7 +322,7 @@
|
|||||||
(file/write out
|
(file/write out
|
||||||
"#include <janet.h>\n"
|
"#include <janet.h>\n"
|
||||||
"static const unsigned char bytes[] = {"
|
"static const unsigned char bytes[] = {"
|
||||||
;(interpose ", " chunks)
|
(string/join (interpose ", " chunks))
|
||||||
"};\n\n"
|
"};\n\n"
|
||||||
"const unsigned char *" name "_embed = bytes;\n"
|
"const unsigned char *" name "_embed = bytes;\n"
|
||||||
"size_t " name "_embed_size = sizeof(bytes);\n")
|
"size_t " name "_embed_size = sizeof(bytes);\n")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user