Skip to content
Snippets Groups Projects
Select Git revision
  • fd8b6bcf5572b342b1e61f4f3737a2a650659166
  • main default protected
  • phhw
  • captouch-threshold
  • t
  • dos
  • test2
  • test
  • slewtest
  • simtest
  • view-think
  • vm-pending
  • media-buf
  • scope
  • passthrough
  • wave
  • vsync
  • dos-main-patch-50543
  • json-error
  • rahix/big-flow3r
  • pippin/media_framework
  • v1.3.0
  • v1.2.0
  • v1.2.0+rc1
  • v1.1.1
  • v1.1.0
  • v1.1.0+rc1
  • v1.0.0
  • v1.0.0+rc6
  • v1.0.0+rc5
  • v1.0.0+rc4
  • v1.0.0+rc3
  • v1.0.0+rc2
  • v1.0.0+rc1
34 results

gc.h

Blame
  • Forked from flow3r / flow3r firmware
    Source project has a limited visibility.
    gc.h 557 B
    void gc_init(void *start, void *end);
    void gc_collect_start();
    void gc_collect_root(void **ptrs, machine_uint_t len);
    void gc_collect_end();
    void gc_collect();
    void *gc_alloc(machine_uint_t n_bytes);
    void gc_free(void *ptr);
    machine_uint_t gc_nbytes(void *ptr);
    void *gc_realloc(void *ptr, machine_uint_t n_bytes);
    
    typedef struct _gc_info_t {
        machine_uint_t total;
        machine_uint_t used;
        machine_uint_t free;
        machine_uint_t num_1block;
        machine_uint_t num_2block;
        machine_uint_t max_block;
    } gc_info_t;
    
    void gc_info(gc_info_t *info);