Struct gluon_vm::api::CPrimitive
[−]
[src]
pub struct CPrimitive { /* fields omitted */ }
Methods
impl CPrimitive
[src]
unsafe fn new(function: GluonFunction, args: VmIndex, id: &str) -> CPrimitive
Trait Implementations
impl<'vm> Pushable<'vm> for CPrimitive
[src]
fn push(self, thread: &'vm Thread, context: &mut Context) -> Result<()>
Pushes self
to stack
. If the call is successful a single element should have been added to the stack and Ok(())
should be returned. If the call is unsuccessful Status:Error
should be returned and the stack should be left intact Read more