MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

root prototypes

+11 -1
+1
include/gc/modules.h
··· 21 21 void gc_mark_worker_threads(ant_t *js, gc_mark_fn mark); 22 22 void gc_mark_abort(ant_t *js, gc_mark_fn mark); 23 23 void gc_mark_domexception(ant_t *js, gc_mark_fn mark); 24 + void gc_mark_queuing_strategies(ant_t *js, gc_mark_fn mark); 24 25 void gc_mark_readable_streams(ant_t *js, gc_mark_fn mark); 25 26 void gc_mark_writable_streams(ant_t *js, gc_mark_fn mark); 26 27
+3
include/streams/queuing.h
··· 1 1 #ifndef STREAMS_QUEUING_H 2 2 #define STREAMS_QUEUING_H 3 3 4 + #include "types.h" 5 + 4 6 void init_queuing_strategies_module(void); 7 + void gc_mark_queuing_strategies(ant_t *js, void (*mark)(ant_t *, ant_value_t)); 5 8 6 9 #endif
+2 -1
src/gc/objects.c
··· 454 454 gc_mark_worker_threads(js, gc_mark_value); 455 455 gc_mark_abort(js, gc_mark_value); 456 456 gc_mark_domexception(js, gc_mark_value); 457 + gc_mark_queuing_strategies(js, gc_mark_value); 457 458 gc_mark_readable_streams(js, gc_mark_value); 458 459 gc_mark_writable_streams(js, gc_mark_value); 459 460 ··· 754 755 755 756 uint64_t gc_get_epoch(void) { 756 757 return gc_epoch; 757 - } 758 + }
+5
src/streams/queuing.c
··· 109 109 js_set(js, g, "ByteLengthQueuingStrategy", blqs_ctor); 110 110 js_set_descriptor(js, g, "ByteLengthQueuingStrategy", 25, JS_DESC_W | JS_DESC_C); 111 111 } 112 + 113 + void gc_mark_queuing_strategies(ant_t *js, void (*mark)(ant_t *, ant_value_t)) { 114 + mark(js, g_count_qs_proto); 115 + mark(js, g_bytelength_qs_proto); 116 + }