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

Function hc_sloc_string

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

Source from the content-addressed store, hash-verified

16}
17
18const char *hc_sloc_string(struct hc_sloc *sloc) {
19 snprintf(sloc->out, sizeof(sloc->out), "'%s'; row %d, column %d",
20 sloc->source, sloc->row, sloc->col);
21 return sloc->out;
22}
23
24
25void hc_vm_init(struct hc_vm *vm, struct hc_malloc *malloc) {

Callers 4

lib_upcaseFunction · 0.85
call_emitFunction · 0.85
id_emitFunction · 0.85
hc_read_callFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected