Test small fix for marshalling.

This commit is contained in:
Calvin Rose 2023-07-02 12:58:55 -05:00
parent db0abfde72
commit a5f4e4d328
1 changed files with 1 additions and 0 deletions

View File

@ -1224,6 +1224,7 @@ static Janet janet_chanat_next(void *p, Janet key) {
static void janet_chanat_marshal(void *p, JanetMarshalContext *ctx) {
JanetChannel *channel = (JanetChannel *)p;
janet_marshal_abstract(ctx, channel);
janet_marshal_byte(ctx, channel->closed);
janet_marshal_int(ctx, channel->limit);
int32_t count = janet_q_count(&channel->items);