mirror of
https://github.com/CPunch/Cosmo.git
synced 2025-10-28 03:40:05 +00:00
added module names for functions
This commit is contained in:
@@ -112,6 +112,7 @@ CObjFunction *cosmoO_newFunction(CState *state) {
|
||||
func->args = 0;
|
||||
func->upvals = 0;
|
||||
func->name = NULL;
|
||||
func->module = NULL;
|
||||
|
||||
initChunk(state, &func->chunk, ARRAY_START);
|
||||
return func;
|
||||
|
||||
Reference in New Issue
Block a user