MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxCheckModCode

Function fxCheckModCode

xs/tools/xslStrip.c:158–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158void fxCheckModCode(txLinker* linker, txString name, txU1 code, txString what)
159{
160 if (fxIsCodeUsed(code)) {
161 fprintf(stderr, "### error: strip %s: incompatible code: %s\n", name, what);
162 linker->errorCount++;
163 }
164}
165
166void fxCheckModGlobal(txLinker* linker, txString name, txString key)
167{

Callers 1

fxCheckModFunction · 0.85

Calls 1

fxIsCodeUsedFunction · 0.85

Tested by

no test coverage detected