mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-06 20:56:38 +02:00
heap size utility 'multiplier' not used with boehm
This commit is contained in:
parent
d29d7733fc
commit
5b64ba5a9c
1 changed files with 2 additions and 0 deletions
2
main.c
2
main.c
|
@ -216,6 +216,7 @@ static void repl (sexp ctx, sexp env) {
|
||||||
sexp_gc_release3(ctx);
|
sexp_gc_release3(ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if ! SEXP_USE_BOEHM
|
||||||
static sexp_uint_t multiplier (char c) {
|
static sexp_uint_t multiplier (char c) {
|
||||||
switch (sexp_tolower(c)) {
|
switch (sexp_tolower(c)) {
|
||||||
case 'k': return 1024;
|
case 'k': return 1024;
|
||||||
|
@ -224,6 +225,7 @@ static sexp_uint_t multiplier (char c) {
|
||||||
default: return 1;
|
default: return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void check_nonull_arg (int c, char *arg) {
|
static void check_nonull_arg (int c, char *arg) {
|
||||||
if (! arg) {
|
if (! arg) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue