MCPcopy Create free account
hub / github.com/codr7/hacktical-c / hc_malloc

Class hc_malloc

vm/vm.c:25–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24
25void hc_vm_init(struct hc_vm *vm, struct hc_malloc *malloc) {
26 hc_vector_init(&vm->stack, malloc, sizeof(struct hc_value));
27 hc_vector_init(&vm->ops, malloc, sizeof(const struct hc_op *));
28 hc_vector_init(&vm->code, malloc, sizeof(hc_op_eval_t));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected