use super::*;
#[inline(always)]
pub fn start_clock<const ID: i32>(_: ConstI32<ID>) {
unsafe { __start_clock(ID) }
}
#[inline(always)]
pub fn stop_clock<const ID: i32>(_: ConstI32<ID>) {
unsafe { __stop_clock(ID) }
}
#[inline(always)]
pub fn require_bit_length<const BIT_LENGTH: u32>(_: ConstU32<BIT_LENGTH>) {
unsafe { __reqbl(BIT_LENGTH) }
}
#[inline(always)]
pub fn crash() {
unsafe { __crash() }
}
#[inline(always)]
pub fn restart() {
unsafe { __restart() }
}
#[inline(always)]
pub fn clear_memory() {
unsafe { __clear_memory() }
}
#[inline(always)]
pub fn clear_registers() {
unsafe { __clear_registers() }
}
#[inline(always)]
pub unsafe fn execute_garbled_circuit<const ID: u32>(_: ConstU32<ID>) {
__gc(ID)
}
#[inline(always)]
pub unsafe fn execute_local_function<const ID: u32>(_: ConstU32<ID>) {
__lf(ID)
}
#[inline(always)]
pub fn reserve_i64_stack(n: u32) -> StackAddress {
unsafe { __reserve_i64_stack(n) }
}
#[inline(always)]
pub fn reserve_secret_i64_stack(n: u32) -> StackAddress {
unsafe { __reserve_secret_i64_stack(n) }
}
#[inline(always)]
pub fn reserve_clear_modp_stack(n: u32) -> StackAddress {
unsafe { __reserve_clear_modp_stack(n) }
}
#[inline(always)]
pub fn reserve_secret_modp_stack(n: u32) -> StackAddress {
unsafe { __reserve_secret_modp_stack(n) }
}
extern "C" {
fn __reserve_i64_stack(n: u32) -> StackAddress;
fn __reserve_secret_i64_stack(n: u32) -> StackAddress;
fn __reserve_clear_modp_stack(n: u32) -> StackAddress;
fn __reserve_secret_modp_stack(n: u32) -> StackAddress;
}