[][src]Crate tcc

A crate wrapping tcc in Rust.

Structs

CSymbol

A C symbol returned by TccRelocated::get_symbol().

RelocatedTcc

Once Tcc::relocate() is done successfully, this struct is returned to let you fetch the symbols from the generated machine code.

Tcc

Main struct of this crate, can be used to compile C code into machine code.

Enums

OutputType

Output type of the compilation.

Traits

Symbol

Symbol trait, implemented by either a CSymbol returned by TccRelocated::get_symbol(), or by any *const c_void (for instance an extern "C" function).