Crawler.
This commit is contained in:
parent
141a4562fd
commit
e01148ba37
5
main.c
5
main.c
@ -13,6 +13,7 @@
|
||||
#include "wren.h"
|
||||
#include "requests_backend.c"
|
||||
#include "socket_backend.c"
|
||||
#include "string_backend.c" // Include the new string backend
|
||||
|
||||
// --- Global flag to control the main loop ---
|
||||
static volatile bool g_mainFiberIsDone = false;
|
||||
@ -91,6 +92,10 @@ WrenForeignMethodFn combinedBindForeignMethod(WrenVM* vm, const char* module, co
|
||||
return bindForeignMethod(vm, module, className, isStatic, signature);
|
||||
}
|
||||
|
||||
if (strcmp(className, "String") == 0) {
|
||||
return bindStringForeignMethod(vm, module, className, isStatic, signature);
|
||||
}
|
||||
|
||||
// Handle host-specific methods
|
||||
if (strcmp(module, "main") == 0 && strcmp(className, "Host") == 0 && isStatic) {
|
||||
if (strcmp(signature, "signalDone()") == 0) return hostSignalDone;
|
||||
|
11863
merged_source_files.txt
11863
merged_source_files.txt
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user