MCPcopy Index your code
hub / github.com/Moddable-OpenSource/moddable / addMCConfigCFile

Method addMCConfigCFile

tools/ffi.js:247–254  ·  view source on GitHub ↗
(tool, signatures)

Source from the content-addressed store, hash-verified

245 this.tool = tool;
246 }
247 addMCConfigCFile(tool, signatures) {
248 const source = tool.tmpPath + tool.slash + "mc.ffi.c";
249 const file = new TabFile(source, tool);
250 this.generateCFile(file, signatures, false, false);
251 file.close();
252 const target = "mc.ffi.c.o";
253 tool.cFiles.push({ target, source });
254 }
255 addMCConfigDTSFile(tool, signatures) {
256 const source = tool.tmpPath + tool.slash + "mc.ffi.d.ts";
257 const file = new TabFile(source, tool);

Callers 1

mcConfigMethod · 0.95

Calls 3

generateCFileMethod · 0.95
closeMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected