Data update

This commit is contained in:
Ingy döt Net 2023-12-16 21:33:55 -08:00
parent 35bcdeebf8
commit 74c69a0df6
2427 changed files with 31826 additions and 3468 deletions

View file

@ -1,4 +1,4 @@
/* http.wren */
/* HTTP.wren */
var CURLOPT_URL = 10002
var CURLOPT_FOLLOWLOCATION = 52

View file

@ -1,4 +1,4 @@
/* gcc http.c -o http -lcurl -lwren -lm */
/* gcc HTTP.c -o HTTP -lcurl -lwren -lm */
#include <stdio.h>
#include <stdlib.h>
@ -108,7 +108,7 @@ int main(int argc, char **argv) {
config.bindForeignMethodFn = &bindForeignMethod;
WrenVM* vm = wrenNewVM(&config);
const char* module = "main";
const char* fileName = "http.wren";
const char* fileName = "HTTP.wren";
char *script = readFile(fileName);
WrenInterpretResult result = wrenInterpret(vm, module, script);
switch (result) {