1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-26 15:13:16 +00:00

Update cook tool and headers.

This commit is contained in:
Calvin Rose 2019-05-09 17:37:46 -04:00
parent c7dc3611bc
commit 52ab9fb475
3 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
# Changelog # Changelog
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## 1.0.0 - ??
## 0.5.0 - 2019-05-09 ## 0.5.0 - 2019-05-09
- Fix some bugs with buffers. - Fix some bugs with buffers.
- Add `trace` and `untrace` to the core library. - Add `trace` and `untrace` to the core library.

View File

@ -25,7 +25,7 @@
#ifndef JANETCONF_H #ifndef JANETCONF_H
#define JANETCONF_H #define JANETCONF_H
#define JANET_VERSION "0.5.0" #define JANET_VERSION "1.0.0-dev"
/* #define JANET_BUILD "local" */ /* #define JANET_BUILD "local" */
/* #define JANET_SINGLE_THREADED */ /* #define JANET_SINGLE_THREADED */

View File

@ -139,7 +139,7 @@
(def out (file/open dest :w)) (def out (file/open dest :w))
(def chunks (seq [b :in (file/read f :all)] (string b))) (def chunks (seq [b :in (file/read f :all)] (string b)))
(file/write out (file/write out
"#include <janet/janet.h>\n" "#include <janet.h>\n"
"static const unsigned char bytes[] = {" "static const unsigned char bytes[] = {"
;(interpose ", " chunks) ;(interpose ", " chunks)
"};\n\n" "};\n\n"