Add shared table

This commit is contained in:
Kae 2023-07-03 18:31:19 +10:00
parent deb96742e0
commit 0d266bebe1

View File

@ -366,6 +366,8 @@ LuaEnginePtr LuaEngine::create(bool safe) {
self->setGlobal("jremove", self->createFunction(&LuaDetail::jcontRemove));
self->setGlobal("jsize", self->createFunction(&LuaDetail::jcontSize));
self->setGlobal("jresize", self->createFunction(&LuaDetail::jcontResize));
self->setGlobal("shared", self->createTable());
return self;
}