Files
wren/src/cli
ruby0x1 3987c12ce3 feat: migrate built-in module loading to Wren 0.4.0 WrenLoadModuleResult API
Replace the legacy `readBuiltInModule` function returning a raw char* with the new `loadBuiltInModule` returning a `WrenLoadModuleResult` struct, and update the CLI's `readModule` to `loadModule` accordingly. This change adds a proper `onComplete` callback for freeing module source memory, ensuring compatibility with the Wren 0.4.0 VM's updated module loading interface.
2021-04-26 03:52:27 +00:00
..