mirror of
https://github.com/janet-lang/janet
synced 2025-01-24 14:16:52 +00:00
Update cook tool and headers.
This commit is contained in:
parent
c7dc3611bc
commit
52ab9fb475
@ -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.
|
||||||
|
@ -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 */
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user