mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 22:28:45 +01:00
Merge branch 'fix-assert' of https://github.com/maxdeviant/wren into maxdeviant-fix-assert
This commit is contained in:
1
AUTHORS
1
AUTHORS
@ -20,3 +20,4 @@ Damien Radtke <damienradtke@gmail.com>
|
||||
Max Ferguson <maxxferguson@gmail.com>
|
||||
Sven Bergström <sven@underscorediscovery.com>
|
||||
Kyle Charters <kylewcharters@gmail.com>
|
||||
Marshall Bowers <elliott.codes@gmail.com>
|
||||
|
||||
@ -1728,7 +1728,7 @@ void wrenGetVariable(WrenVM* vm, const char* module, const char* name,
|
||||
int slot)
|
||||
{
|
||||
ASSERT(module != NULL, "Module cannot be NULL.");
|
||||
ASSERT(module != NULL, "Variable name cannot be NULL.");
|
||||
ASSERT(name != NULL, "Variable name cannot be NULL.");
|
||||
validateApiSlot(vm, slot);
|
||||
|
||||
Value moduleName = wrenStringFormat(vm, "$", module);
|
||||
|
||||
Reference in New Issue
Block a user