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

Class hc_error

malloc1/tests.c:27–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 bool caught = false;
26
27 void on_catch(struct hc_error *e) {
28 assert(hc_streq(e->message, HC_NO_MEMORY) == 0);
29 caught = true;
30 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected