mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-09 07:00:23 +02:00
24 lines
761 B
C
24 lines
761 B
C
#ifndef GC_PLATFORM_H
|
|
#define GC_PLATFORM_H
|
|
|
|
#ifndef GC_IMPL
|
|
#error internal header file, not part of API
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "gc-visibility.h"
|
|
|
|
struct gc_heap;
|
|
|
|
GC_INTERNAL void gc_platform_init(void);
|
|
GC_INTERNAL uintptr_t gc_platform_current_thread_stack_base(void);
|
|
GC_INTERNAL
|
|
void gc_platform_visit_global_conservative_roots(void (*f)(uintptr_t start,
|
|
uintptr_t end,
|
|
struct gc_heap *heap,
|
|
void *data),
|
|
struct gc_heap *heap,
|
|
void *data);
|
|
|
|
#endif // GC_PLATFORM_H
|