Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ThePhD/sol2
/ worker_data
Method
worker_data
examples/source/docs/std_thread.cpp:20–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
18
std::variant<double, std::vector<double>> return_payload;
19
20
worker_data() {
21
worker_lua.open_libraries(sol::lib::base);
22
}
23
};
24
25
void worker_thread(worker_data& data) {
Callers
nothing calls this directly
Calls
1
open_libraries
Method · 0.80
Tested by
no test coverage detected