Skip to main content

approve

Function approve 

Source
pub fn approve(
    s: &mut Session,
    m: &Macro,
    doc: u64,
    asks: &[String],
    approve: bool,
) -> Result<()>
Expand description

Approves the macro for this session when approve is set, or asks (an EngineError::Approve) when it needs approval it doesn’t have.