1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-13 17:20:21 +02:00

Add gc_ prefix to struct heap, struct mutator

This commit is contained in:
Andy Wingo 2022-08-16 21:35:16 +02:00
parent b082f5f50d
commit 92b8f1e917
10 changed files with 218 additions and 223 deletions

View file

@ -18,7 +18,7 @@
// objects are in which space. That way we slot into the abstraction of a
// copying collector while not actually copying data.
struct heap;
struct gc_heap;
struct gcobj;
struct large_object_space {
@ -39,7 +39,7 @@ struct large_object_space {
};
static int large_object_space_init(struct large_object_space *space,
struct heap *heap) {
struct gc_heap *heap) {
pthread_mutex_init(&space->lock, NULL);
space->page_size = getpagesize();
space->page_size_log2 = __builtin_ctz(space->page_size);