W3cubDocs

/Crystal 0.31

module GC

Defined in:

gc.cr
gc/boehm.cr
gc/none.cr

Class Method Summary

Class Method Detail

def self.add_finalizer(object : Reference)Source

def self.add_finalizer(object)Source

def self.add_root(object : Reference)Source

def self.collectSource

def self.disableSource

def self.enableSource

def self.free(pointer : Pointer(Void))Source

def self.initSource

def self.is_heap_ptr(pointer : Pointer(Void))Source

def self.malloc(size : Int)Source

def self.malloc_atomic(size : Int)Source

def self.realloc(pointer : Pointer(Void), size : Int)Source

def self.register_disappearing_link(pointer : Pointer(Pointer(Void)))Source

def self.set_stackbottom(stack_bottom : Pointer(Void))Source

def self.statsSource

© 2012–2019 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.31.1/GC.html