增加auto_Lock

This commit is contained in:
xx
2024-06-16 23:13:36 +08:00
parent 21fcd6c59b
commit 7ddb271f43

View File

@@ -69,7 +69,7 @@ module::auto_lock::~auto_lock()
void module::auto_lock::regist(sol::state* lua)
{
lua->new_usertype<module::auto_lock>("auto_lock",
lua->new_usertype<module::auto_lock>("fw_auto_lock",
"new", sol::constructors<module::auto_lock(module::mutex&)>()
);
}