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

Function fx_parseURLCopyPath

modules/data/url/url.c:845–862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

843}
844
845void fx_parseURLCopyPath(txMachine* the, txSlot* src, txSlot* dst)
846{
847 txIndex length, i;
848
849 mxPushSlot(src);
850 mxGetID(mxID(_length));
851 length = (txIndex)fxToLength(the, the->stack);
852 mxPop();
853 i = 0;
854 while (i < length) {
855 mxPushSlot(src);
856 mxGetIndex(i);
857 mxPushSlot(dst);
858 mxSetIndex(i);
859 mxPop();
860 i++;
861 }
862}
863
864txInteger fx_parseURLDecode(txMachine* the, txStringStream* stream)
865{

Callers 1

fx_parseURLFunction · 0.85

Calls 1

fxToLengthFunction · 0.85

Tested by

no test coverage detected