Skip to content

Commit b5996f5

Browse files
committed
Update for 1.32.0
1 parent e3f4142 commit b5996f5

File tree

6 files changed

+15
-14
lines changed

6 files changed

+15
-14
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4-
## Unreleased - ???
4+
## 1.32.0 - 2023-10-14
5+
- Fix return value from C function `janet_dobytes` when called on Janet functions that yield to event loop.
56
- Change C API for event loop interaction - get rid of JanetListener and instead use `janet_async_start` and `janet_async_end`.
67
- Rework event loop to make fewer system calls on kqueue and epoll.
78
- Expose atomic refcount abstraction in janet.h

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ build/%.bin.o: src/%.c $(JANET_HEADERS) $(JANET_LOCAL_HEADERS) Makefile
196196
########################
197197

198198
ifeq ($(UNAME), Darwin)
199-
SONAME=libjanet.1.31.dylib
199+
SONAME=libjanet.1.32.dylib
200200
else
201-
SONAME=libjanet.so.1.31
201+
SONAME=libjanet.so.1.32
202202
endif
203203

204204
build/c/shell.c: src/mainclient/shell.c

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
project('janet', 'c',
2222
default_options : ['c_std=c99', 'build.c_std=c99', 'b_lundef=false', 'default_library=both'],
23-
version : '1.31.0')
23+
version : '1.32.0')
2424

2525
# Global settings
2626
janet_path = join_paths(get_option('prefix'), get_option('libdir'), 'janet')

src/conf/janetconf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
#define JANETCONF_H
55

66
#define JANET_VERSION_MAJOR 1
7-
#define JANET_VERSION_MINOR 31
7+
#define JANET_VERSION_MINOR 32
88
#define JANET_VERSION_PATCH 0
99
#define JANET_VERSION_EXTRA ""
10-
#define JANET_VERSION "1.31.0"
10+
#define JANET_VERSION "1.32.0"
1111

1212
/* #define JANET_BUILD "local" */
1313

src/core/ffi.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -999,13 +999,13 @@ typedef struct {
999999
uint64_t x;
10001000
} sysv64_sseint_return;
10011001
typedef sysv64_int_return janet_sysv64_variant_1(uint64_t a, uint64_t b, uint64_t c, uint64_t d, uint64_t e, uint64_t f,
1002-
double r1, double r2, double r3, double r4, double r5, double r6, double r7, double r8);
1002+
double r1, double r2, double r3, double r4, double r5, double r6, double r7, double r8);
10031003
typedef sysv64_sse_return janet_sysv64_variant_2(uint64_t a, uint64_t b, uint64_t c, uint64_t d, uint64_t e, uint64_t f,
1004-
double r1, double r2, double r3, double r4, double r5, double r6, double r7, double r8);
1004+
double r1, double r2, double r3, double r4, double r5, double r6, double r7, double r8);
10051005
typedef sysv64_intsse_return janet_sysv64_variant_3(uint64_t a, uint64_t b, uint64_t c, uint64_t d, uint64_t e, uint64_t f,
1006-
double r1, double r2, double r3, double r4, double r5, double r6, double r7, double r8);
1006+
double r1, double r2, double r3, double r4, double r5, double r6, double r7, double r8);
10071007
typedef sysv64_sseint_return janet_sysv64_variant_4(uint64_t a, uint64_t b, uint64_t c, uint64_t d, uint64_t e, uint64_t f,
1008-
double r1, double r2, double r3, double r4, double r5, double r6, double r7, double r8);
1008+
double r1, double r2, double r3, double r4, double r5, double r6, double r7, double r8);
10091009

10101010
static Janet janet_ffi_sysv64(JanetFFISignature *signature, void *function_pointer, const Janet *argv) {
10111011
union {

src/core/fiber.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ int janet_fiber_funcframe(JanetFiber *fiber, JanetFunction *func) {
239239
fiber->data + tuplehead,
240240
oldtop - tuplehead)
241241
: janet_wrap_tuple(janet_tuple_n(
242-
fiber->data + tuplehead,
243-
oldtop - tuplehead));
242+
fiber->data + tuplehead,
243+
oldtop - tuplehead));
244244
}
245245
}
246246

@@ -370,8 +370,8 @@ int janet_fiber_funcframe_tail(JanetFiber *fiber, JanetFunction *func) {
370370
fiber->data + tuplehead,
371371
fiber->stacktop - tuplehead)
372372
: janet_wrap_tuple(janet_tuple_n(
373-
fiber->data + tuplehead,
374-
fiber->stacktop - tuplehead));
373+
fiber->data + tuplehead,
374+
fiber->stacktop - tuplehead));
375375
}
376376
stacksize = tuplehead - fiber->stackstart + 1;
377377
} else {

0 commit comments

Comments
 (0)