added some other network builtins

This commit is contained in:
cozis
2021-12-04 15:22:10 +01:00
parent 4cf95336e8
commit 57c0d7c910
7 changed files with 766 additions and 228 deletions
+2 -2
View File
@@ -79,9 +79,9 @@ static Object *select_(Object *self, Object *key, Heap *heap, Error *err)
return NULL;
}
case PAIR(sizeof("network")-1, 'n'):
case PAIR(sizeof("net")-1, 'n'):
{
if(!strcmp(s, "network"))
if(!strcmp(s, "net"))
return Object_NewNetworkBuiltinsMap(bm->runtime, heap, err);
return NULL;