Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue