Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3046458
objects.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
628 B
Referenced Files
None
Subscribers
None
objects.h
View Options
#ifndef ANT_GC_OBJECTS_H
#define ANT_GC_OBJECTS_H
#include
"types.h"
#include
"object.h"
#define ANT_GC_DEAD 0xFF
typedef
void
(
*
gc_str_mark_fn
)(
ant_t
*
js
,
ant_value_t
v
);
uint64_t
gc_get_epoch
(
void
);
bool
gc_obj_is_marked
(
const
ant_object_t
*
obj
);
void
gc_mark_value
(
ant_t
*
js
,
ant_value_t
v
);
void
gc_objects_run
(
ant_t
*
js
,
gc_str_mark_fn
str_mark
);
void
gc_objects_run_minor
(
ant_t
*
js
,
gc_str_mark_fn
str_mark
);
void
gc_object_free
(
ant_t
*
js
,
ant_object_t
*
obj
);
void
gc_pin_existing_objects
(
ant_t
*
js
);
void
gc_root_pending_promise
(
ant_object_t
*
obj
);
void
gc_unroot_pending_promise
(
ant_object_t
*
obj
);
#endif
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Fri, Apr 3, 12:50 PM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
520797
Default Alt Text
objects.h (628 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment