Data update

This commit is contained in:
Ingy döt Net 2024-03-06 22:25:12 -08:00
parent ed705008a8
commit 0df55f9f24
2196 changed files with 32999 additions and 3075 deletions

View file

@ -1,4 +1,4 @@
/* query.wren */
/* Use_another_language_to_call_a_function.wren */
class RCQuery {
// Both arguments are lists as we need pass by reference here

View file

@ -1,3 +1,5 @@
/* gcc Use_another_language_to_call_a_function.c -o Use_another_language_to_call_a_function -lwren -lm */
#include <stdio.h>
#include "wren.h"
@ -51,7 +53,7 @@ int configWrenVM() {
config.bindForeignMethodFn = &bindForeignMethod;
vm = wrenNewVM(&config);
const char* module = "main";
const char* fileName = "query.wren";
const char* fileName = "Use_another_language_to_call_a_function.wren";
script = readFile(fileName);
WrenInterpretResult result = wrenInterpret(vm, module, script);
switch (result) {