Struct r_core::r_egg_emit_t [−][src]
#[repr(C)]pub struct r_egg_emit_t {Show 26 fields
pub arch: *const c_char,
pub size: c_int,
pub retvar: *const c_char,
pub regs: Option<unsafe extern "C" fn(egg: *mut REgg, idx: c_int) -> *const c_char>,
pub init: Option<unsafe extern "C" fn(egg: *mut REgg)>,
pub call: Option<unsafe extern "C" fn(egg: *mut REgg, addr: *const c_char, ptr: c_int)>,
pub jmp: Option<unsafe extern "C" fn(egg: *mut REgg, addr: *const c_char, ptr: c_int)>,
pub frame: Option<unsafe extern "C" fn(egg: *mut REgg, sz: c_int)>,
pub syscall: Option<unsafe extern "C" fn(egg: *mut REgg, num: c_int) -> *mut c_char>,
pub trap: Option<unsafe extern "C" fn(egg: *mut REgg)>,
pub frame_end: Option<unsafe extern "C" fn(egg: *mut REgg, sz: c_int, ctx: c_int)>,
pub comment: Option<unsafe extern "C" fn(egg: *mut REgg, fmt: *const c_char, ...)>,
pub push_arg: Option<unsafe extern "C" fn(egg: *mut REgg, xs: c_int, num: c_int, str_: *const c_char)>,
pub set_string: Option<unsafe extern "C" fn(egg: *mut REgg, dstvar: *const c_char, str_: *const c_char, j: c_int)>,
pub equ: Option<unsafe extern "C" fn(egg: *mut REgg, key: *const c_char, value: *const c_char)>,
pub get_result: Option<unsafe extern "C" fn(egg: *mut REgg, ocn: *const c_char)>,
pub restore_stack: Option<unsafe extern "C" fn(egg: *mut REgg, size: c_int)>,
pub syscall_args: Option<unsafe extern "C" fn(egg: *mut REgg, nargs: c_int)>,
pub get_var: Option<unsafe extern "C" fn(egg: *mut REgg, type_: c_int, out: *mut c_char, idx: c_int)>,
pub get_ar: Option<unsafe extern "C" fn(egg: *mut REgg, out: *mut c_char, idx: c_int)>,
pub while_end: Option<unsafe extern "C" fn(egg: *mut REgg, label: *const c_char)>,
pub load: Option<unsafe extern "C" fn(egg: *mut REgg, str_: *const c_char, sz: c_int)>,
pub load_ptr: Option<unsafe extern "C" fn(egg: *mut REgg, str_: *const c_char)>,
pub branch: Option<unsafe extern "C" fn(egg: *mut REgg, b: *mut c_char, g: *mut c_char, e: *mut c_char, n: *mut c_char, sz: c_int, dst: *const c_char)>,
pub mathop: Option<unsafe extern "C" fn(egg: *mut REgg, ch: c_int, sz: c_int, type_: c_int, eq: *const c_char, p: *const c_char)>,
pub get_while_end: Option<unsafe extern "C" fn(egg: *mut REgg, out: *mut c_char, ctxpush: *const c_char, label: *const c_char)>,
}
Fields
arch: *const c_char
size: c_int
retvar: *const c_char
regs: Option<unsafe extern "C" fn(egg: *mut REgg, idx: c_int) -> *const c_char>
init: Option<unsafe extern "C" fn(egg: *mut REgg)>
call: Option<unsafe extern "C" fn(egg: *mut REgg, addr: *const c_char, ptr: c_int)>
jmp: Option<unsafe extern "C" fn(egg: *mut REgg, addr: *const c_char, ptr: c_int)>
frame: Option<unsafe extern "C" fn(egg: *mut REgg, sz: c_int)>
syscall: Option<unsafe extern "C" fn(egg: *mut REgg, num: c_int) -> *mut c_char>
trap: Option<unsafe extern "C" fn(egg: *mut REgg)>
frame_end: Option<unsafe extern "C" fn(egg: *mut REgg, sz: c_int, ctx: c_int)>
comment: Option<unsafe extern "C" fn(egg: *mut REgg, fmt: *const c_char, ...)>
push_arg: Option<unsafe extern "C" fn(egg: *mut REgg, xs: c_int, num: c_int, str_: *const c_char)>
set_string: Option<unsafe extern "C" fn(egg: *mut REgg, dstvar: *const c_char, str_: *const c_char, j: c_int)>
equ: Option<unsafe extern "C" fn(egg: *mut REgg, key: *const c_char, value: *const c_char)>
get_result: Option<unsafe extern "C" fn(egg: *mut REgg, ocn: *const c_char)>
restore_stack: Option<unsafe extern "C" fn(egg: *mut REgg, size: c_int)>
syscall_args: Option<unsafe extern "C" fn(egg: *mut REgg, nargs: c_int)>
get_var: Option<unsafe extern "C" fn(egg: *mut REgg, type_: c_int, out: *mut c_char, idx: c_int)>
get_ar: Option<unsafe extern "C" fn(egg: *mut REgg, out: *mut c_char, idx: c_int)>
while_end: Option<unsafe extern "C" fn(egg: *mut REgg, label: *const c_char)>
load: Option<unsafe extern "C" fn(egg: *mut REgg, str_: *const c_char, sz: c_int)>
load_ptr: Option<unsafe extern "C" fn(egg: *mut REgg, str_: *const c_char)>
branch: Option<unsafe extern "C" fn(egg: *mut REgg, b: *mut c_char, g: *mut c_char, e: *mut c_char, n: *mut c_char, sz: c_int, dst: *const c_char)>
mathop: Option<unsafe extern "C" fn(egg: *mut REgg, ch: c_int, sz: c_int, type_: c_int, eq: *const c_char, p: *const c_char)>
get_while_end: Option<unsafe extern "C" fn(egg: *mut REgg, out: *mut c_char, ctxpush: *const c_char, label: *const c_char)>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for r_egg_emit_t
impl !Send for r_egg_emit_t
impl !Sync for r_egg_emit_t
impl Unpin for r_egg_emit_t
impl UnwindSafe for r_egg_emit_t
Blanket Implementations
Mutably borrows from an owned value. Read more