difftreelog
feat(bindings) max stack
in: master
1 file changed
bindings/jsonnet/src/lib.rsdiffbeforeafterboth68 Box::new(state)68 Box::new(state)69}69}707071// TODO72#[no_mangle]71#[no_mangle]73pub extern "C" fn jsonnet_max_stack(_vm: &EvaluationState, _v: c_uint) {}72pub extern "C" fn jsonnet_max_stack(vm: &EvaluationState, v: c_uint) {73 vm.set_max_stack(v as usize);74}747575// jrsonnet currently have no GC, so these functions is no-op76// jrsonnet currently have no GC, so these functions is no-op