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

Function fxCoderAddString

xs/sources/xsCode.c:1160–1167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1158}
1159
1160void fxCoderAddString(txCoder* self, txInteger delta, txInteger id, txInteger length, txString string)
1161{
1162 txStringCode* code = fxNewParserChunkClear(self->parser, sizeof(txStringCode));
1163 fxCoderAdd(self, delta, code);
1164 code->id = id;
1165 code->length = length + 1;
1166 code->string = string;
1167}
1168
1169void fxCoderAddSymbol(txCoder* self, txInteger delta, txInteger id, txSymbol* symbol)
1170{

Callers 2

fxParserCodeFunction · 0.85
fxStringNodeCodeFunction · 0.85

Calls 2

fxNewParserChunkClearFunction · 0.85
fxCoderAddFunction · 0.85

Tested by

no test coverage detected