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

Method addXSFile

tools/ffi.js:316–324  ·  view source on GitHub ↗
(tool)

Source from the content-addressed store, hash-verified

314 });
315 }
316 addXSFile(tool) {
317 const files = tool.cFiles;
318 const source = tool.xsPath + tool.slash + "sources" + tool.slash + "xsffi.c";
319 const target = "xsffi.c.o";
320 if (!files.already[source]) {
321 files.already[source] = true;
322 files.push({ target, source });
323 }
324 }
325 normalizeType(type) {
326 this.count = undefined;
327 if (type.endsWith(" *")) {

Callers 1

mcConfigMethod · 0.95

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected