From 240d5b165e006b72dbf57241b96f6f36e1403b67 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Thu, 23 Feb 2017 23:05:32 -0500 Subject: [PATCH] WIP --- include/cyclone/types.h | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/include/cyclone/types.h b/include/cyclone/types.h index 1e59c000..5e50e832 100644 --- a/include/cyclone/types.h +++ b/include/cyclone/types.h @@ -20,17 +20,25 @@ #include #include "tommath.h" -// Maximum number of args that GC will accept +/** + * Maximum number of args that GC will accept + */ #define NUM_GC_ARGS 128 -// Which way does the CPU grow its stack? +/** + * Which way does the CPU grow its stack? + */ #define STACK_GROWTH_IS_DOWNWARD 1 -// Size of the stack buffer, in bytes. -// This is used as the first generation of the GC. +/** + * Size of the stack buffer, in bytes. + * This is used as the first generation of the GC. + */ #define STACK_SIZE 500000 -// Do not allocate objects larger than this on the stack. +/** + * Do not allocate objects larger than this on the stack. + */ #define MAX_STACK_OBJ (STACK_SIZE * 2) // Parameters for size of a "page" on the heap (the second generation GC), in bytes.