mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 17:50:29 +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
19
benchmarks/heap-objects.h
Normal file
19
benchmarks/heap-objects.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
#ifndef HEAP_OBJECTS_H
|
||||
#define HEAP_OBJECTS_H
|
||||
|
||||
#include "gc-inline.h"
|
||||
#include "gc-edge.h"
|
||||
|
||||
#define DECLARE_NODE_TYPE(name, Name, NAME) \
|
||||
struct Name; \
|
||||
typedef struct Name Name;
|
||||
FOR_EACH_HEAP_OBJECT_KIND(DECLARE_NODE_TYPE)
|
||||
#undef DECLARE_NODE_TYPE
|
||||
|
||||
#define DEFINE_ENUM(name, Name, NAME) ALLOC_KIND_##NAME,
|
||||
enum alloc_kind {
|
||||
FOR_EACH_HEAP_OBJECT_KIND(DEFINE_ENUM)
|
||||
};
|
||||
#undef DEFINE_ENUM
|
||||
|
||||
#endif // HEAP_OBJECTS_H
|
Loading…
Add table
Add a link
Reference in a new issue