1
0
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:
bakpakin
2017-09-09 14:39:51 -04:00
parent 3ccd688438
commit 3efd400025
28 changed files with 3977 additions and 3969 deletions

View File

@@ -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) {