Function synthetic_instrument_change_formula

Source
#[no_mangle]
pub unsafe extern "C" fn synthetic_instrument_change_formula(
    synth: &mut SyntheticInstrument_API,
    formula_ptr: *const c_char,
)
Expand description

§Safety

Assumes formula_ptr is a valid C string pointer.

§Panics

Panics if changing the formula fails (i.e., unwrap() in change_formula).