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