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

Function fx_parseURLSpecialScheme

modules/data/url/url.c:1450–1458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1448}
1449
1450txInteger fx_parseURLSpecialScheme(txMachine* the, txString scheme)
1451{
1452 txInteger i;
1453 for (i = 0; i < mx_parseURLSpecialSchemeCount; i++) {
1454 if (!c_strcmp(scheme, gx_parseURLSpecialSchemeNames[i]))
1455 return i;
1456 }
1457 return -1;
1458}
1459
1460void fx_parseURLSetPart(txMachine* the, txSlot* target, txID id, txIndex index, txStringStream* dst)
1461{

Callers 2

fx_parseURLFunction · 0.85
fx_serializeURLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected