shithub: femtolisp

Download patch

ref: c6116269d590c5ecda9c120ec47e65a74ad0c41c
parent: 69b96a2c2248e3d45e16391a05b2aa5d202d911e
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sun Dec 29 20:40:57 EST 2024

Fl struct: move big fields to the end

--- a/flisp.h
+++ b/flisp.h
@@ -356,9 +356,6 @@
 	size_t nfinalizers;
 	size_t maxfinalizers;
 
-	value_t *gchandles[N_GC_HANDLES];
-	uint32_t ngchandles;
-
 	fl_readstate_t *readstate;
 	Tbl *symtab;
 
@@ -375,8 +372,6 @@
 	value_t the_empty_string;
 	value_t memory_exception_value;
 
-	htable_t TypeTable;
-	htable_t reverse_dlsym_lookup_table;
 	fltype_t *mpinttype;
 	fltype_t *int8type, *uint8type;
 	fltype_t *int16type, *uint16type;
@@ -410,6 +405,11 @@
 	fixnum_t p_level;
 	int scr_width;
 	int hpos, vpos;
+
+	htable_t reverse_dlsym_lookup_table;
+	htable_t TypeTable;
+	uint32_t ngchandles;
+	value_t *gchandles[N_GC_HANDLES];
 };
 
 extern