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

Function fxNewFeature

xs/tools/xst262.c:594–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

592}
593
594txFeature* fxNewFeature(char* name)
595{
596 int nameLength = mxStringLength(name);
597 txFeature* feature = c_malloc(sizeof(txFeature) + nameLength);
598 if (!feature) {
599 c_exit(1);
600 }
601 feature->next = NULL;
602 feature->count = 0;
603 c_memcpy(feature->name, name, nameLength + 1);
604 return feature;
605}
606
607txResult* fxNewResult(char* path, char* message)
608{

Callers 2

fxDefaultFeaturesFunction · 0.85
fxReadConfigurationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected