2022-09-13 06:10:38 +00:00
|
|
|
#ifndef COSMOPOLITAN_LIBC_NEXGEN32E_GC_INTERNAL_H_
|
|
|
|
#define COSMOPOLITAN_LIBC_NEXGEN32E_GC_INTERNAL_H_
|
2020-09-03 12:44:37 +00:00
|
|
|
#include "libc/nexgen32e/stackframe.h"
|
2020-06-15 14:18:57 +00:00
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
|
2021-02-08 17:19:00 +00:00
|
|
|
struct Garbage {
|
|
|
|
struct StackFrame *frame;
|
|
|
|
intptr_t fn;
|
|
|
|
intptr_t arg;
|
|
|
|
intptr_t ret;
|
|
|
|
};
|
|
|
|
|
2020-06-15 14:18:57 +00:00
|
|
|
struct Garbages {
|
2022-09-08 09:33:01 +00:00
|
|
|
int i, n;
|
2021-02-08 17:19:00 +00:00
|
|
|
struct Garbage *p;
|
2020-06-15 14:18:57 +00:00
|
|
|
};
|
|
|
|
|
2021-02-08 17:19:00 +00:00
|
|
|
int64_t __gc(void);
|
2020-06-15 14:18:57 +00:00
|
|
|
|
|
|
|
COSMOPOLITAN_C_END_
|
|
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
2022-09-13 06:10:38 +00:00
|
|
|
#endif /* COSMOPOLITAN_LIBC_NEXGEN32E_GC_INTERNAL_H_ */
|