rust/src/rt/rust_cc.h

21 lines
401 B
C++

// Rust cycle collector. Temporary, but will probably stick around for some
// time until LLVM's GC infrastructure is more mature.
#ifndef RUST_CC_H
#define RUST_CC_H
struct rust_task;
namespace cc {
void do_cc(rust_task *task);
// performs a cycle coll then asserts that there is nothing left
void do_final_cc(rust_task *task);
void maybe_cc(rust_task *task);
} // end namespace cc
#endif