From 197c0ff4f9dc31afb75d996dca572a61ecaf1642 Mon Sep 17 00:00:00 2001 From: ruby0x1 Date: Tue, 6 Apr 2021 19:49:40 -0700 Subject: [PATCH] fix loadModuleFn description in header --- src/include/wren.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/wren.h b/src/include/wren.h index 146638e0..ea6e0501 100644 --- a/src/include/wren.h +++ b/src/include/wren.h @@ -188,9 +188,9 @@ typedef struct // Since Wren does not talk directly to the file system, it relies on the // embedder to physically locate and read the source code for a module. The // first time an import appears, Wren will call this and pass in the name of - // the module being imported. The VM should return the soure code for that - // module. Memory for the source should be allocated using [reallocateFn] and - // Wren will take ownership over it. + // the module being imported. The method will return a result, which contains + // the source code for that module. Memory for the source is owned by the + // host application, and can be freed using the onComplete callback. // // This will only be called once for any given module name. Wren caches the // result internally so subsequent imports of the same module will use the