shithub: femtolisp

Download patch

ref: 36b24a92d94b1d1f100746d27d13fc77f1599201
parent: 3e42c9f3eef3380542edaa5eb9e5f33b37212d1f
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Wed Nov 27 18:34:04 EST 2024

fltype_t->marked: remove (unused)

--- a/flisp.h
+++ b/flisp.h
@@ -277,7 +277,6 @@
 	cvinitfunc_t init;
 	size_t size;
 	size_t elsz;
-	int marked;
 	numerictype_t numtype;
 };
 
--- a/types.c
+++ b/types.c
@@ -34,7 +34,6 @@
 		((symbol_t*)ptr(t))->type = ft;
 	}
 	ft->size = sz;
-	ft->marked = 1;
 	if(iscons(t)){
 		if(isarray){
 			fltype_t *eltype = get_type(car_(cdr_(t)));
@@ -72,7 +71,6 @@
 	ft->numtype = NONNUMERIC;
 	ft->size = sz;
 	ft->vtable = vtab;
-	ft->marked = 1;
 	ft->init = init;
 	return ft;
 }