mirror of
https://github.com/janet-lang/janet
synced 2025-10-30 07:03:02 +00:00
Huge number of changes. Still WIP. Refactoring and
changing C API model. This commit is not i a working state.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#define BUFSIZE 1024
|
||||
#define PERLINE 16
|
||||
#define PERLINE 10
|
||||
|
||||
int main(int argc, const char **argv) {
|
||||
|
||||
@@ -60,7 +60,7 @@ int main(int argc, const char **argv) {
|
||||
/* Write the header */
|
||||
fprintf(out, "/* Auto generated - DO NOT EDIT */\n\n");
|
||||
fprintf(out, "#include <stdint.h>\n\n");
|
||||
fprintf(out, "const uint8_t gst_gen_%s[] = {", argv[3]);
|
||||
fprintf(out, "const uint8_t dst_gen_%s[] = {", argv[3]);
|
||||
|
||||
/* Read in chunks from buffer */
|
||||
while ((bytesRead = fread(buf, 1, sizeof(buf), in)) > 0) {
|
||||
|
||||
Reference in New Issue
Block a user