mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-28 05:50:30 +02:00
Reorganize source tree and document
This commit is contained in:
parent
5fbd21a7c3
commit
e6de2fd633
63 changed files with 225 additions and 235 deletions
25
src/gc-platform.h
Normal file
25
src/gc-platform.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
#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);
|
||||
GC_INTERNAL int gc_platform_processor_count(void);
|
||||
|
||||
#endif // GC_PLATFORM_H
|
Loading…
Add table
Add a link
Reference in a new issue