MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / freecodefile

Function freecodefile

src/debugmem.cpp:1199–1208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1197}
1198
1199static void freecodefile(struct debugcodefile *cf)
1200{
1201 for (int i = 0; i < codefilecnt; i++) {
1202 struct debugcodefile *c = codefiles[i];
1203 if (c == cf) {
1204 xfree(codefiles[i]);
1205 codefiles[i] = NULL;
1206 }
1207 }
1208}
1209
1210static struct debugcodefile *loadcodefile(const TCHAR *path, const TCHAR *name)
1211{

Callers 1

loadcodefileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected