Skip to content

Symbol

I store information about a symbol in a Johann program (during emission).

Symbol__new

pub fn Symbol__new(int type, int nptr)

I create a new symbol, computing its width from its type (ick).

Symbol_nptr

pub fn Symbol_nptr(Symbol* self)

Symbol_offset

pub fn Symbol_offset(Symbol* self)

Symbol_set_offset

pub fn Symbol_set_offset(Symbol* self, int offset)

Symbol_type

pub fn Symbol_type(Symbol* self)

Symbol_width

pub fn Symbol_width(Symbol* self)