git.delta.rocks / jrsonnet / refs/commits / 7aeaa5def440

difftreelog

feat(bindings) max stack

Лач2020-06-28parent: #2c8a29e.patch.diff
in: master

1 file changed

modifiedbindings/jsonnet/src/lib.rsdiffbeforeafterboth
68 Box::new(state)68 Box::new(state)
69}69}
7070
71// TODO
72#[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}
7475
75// jrsonnet currently have no GC, so these functions is no-op76// jrsonnet currently have no GC, so these functions is no-op