core: Use size_t instead of long for gc sizes.
* include/mes/mes.h (ARENA_SIZE, MAX_ARENA_SIZE, STACK_SIZE, JAM_SIZE, GC_SAFETY, MAX_STRING): Use size_t instead of long.
This commit is contained in:
parent
1a97f941c3
commit
b237308f26
|
@ -77,12 +77,12 @@ struct scm *g_macros;
|
||||||
struct scm *g_ports;
|
struct scm *g_ports;
|
||||||
|
|
||||||
/* gc */
|
/* gc */
|
||||||
long ARENA_SIZE;
|
size_t ARENA_SIZE;
|
||||||
long MAX_ARENA_SIZE;
|
size_t MAX_ARENA_SIZE;
|
||||||
long STACK_SIZE;
|
size_t STACK_SIZE;
|
||||||
long JAM_SIZE;
|
size_t JAM_SIZE;
|
||||||
long GC_SAFETY;
|
size_t GC_SAFETY;
|
||||||
long MAX_STRING;
|
size_t MAX_STRING;
|
||||||
char *g_arena;
|
char *g_arena;
|
||||||
struct scm *cell_arena;
|
struct scm *cell_arena;
|
||||||
struct scm *cell_zero;
|
struct scm *cell_zero;
|
||||||
|
|
2
src/gc.c
2
src/gc.c
|
@ -1,6 +1,6 @@
|
||||||
/* -*-comment-start: "//";comment-end:""-*-
|
/* -*-comment-start: "//";comment-end:""-*-
|
||||||
* GNU Mes --- Maxwell Equations of Software
|
* GNU Mes --- Maxwell Equations of Software
|
||||||
* Copyright © 2016,2017,2018,2019,2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
* Copyright © 2016,2017,2018,2019,2020,2021 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||||
*
|
*
|
||||||
* This file is part of GNU Mes.
|
* This file is part of GNU Mes.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue