mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-10 13:48:40 +01:00
remove unused length param
This commit is contained in:
@ -78,7 +78,6 @@ typedef void (*WrenLoadModuleCompleteFn)(WrenVM* vm, const char* name, WrenLoadM
|
||||
// [onComplete] an optional callback that will be called once Wren is done with the result.
|
||||
typedef struct WrenLoadModuleResult
|
||||
{
|
||||
long long length;
|
||||
const char* source;
|
||||
WrenLoadModuleCompleteFn onComplete;
|
||||
void* userData;
|
||||
|
||||
@ -713,7 +713,6 @@ static Value importModule(WrenVM* vm, Value name)
|
||||
// If the host didn't provide it, see if it's a built in optional module.
|
||||
if (result.source == NULL)
|
||||
{
|
||||
result.length = 0;
|
||||
result.onComplete = NULL;
|
||||
ObjString* nameString = AS_STRING(name);
|
||||
#if WREN_OPT_META
|
||||
|
||||
Reference in New Issue
Block a user