[][src]Trait tcc::Symbol

pub trait Symbol {
    fn as_ptr(&self) -> *const c_void;
}

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

Required methods

fn as_ptr(&self) -> *const c_void

How to obtain a pointer to pass to Tcc::add_symbol().

Loading content...

Implementations on Foreign Types

impl Symbol for *const c_void[src]

Loading content...

Implementors

impl Symbol for CSymbol[src]

Loading content...