mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Add minetest.get_mapgen_object to API
This commit is contained in:
parent
2c0b51795e
commit
8aa930f28e
14 changed files with 188 additions and 9 deletions
|
@ -141,6 +141,11 @@ void *JThread::GetReturnValue()
|
|||
return val;
|
||||
}
|
||||
|
||||
bool JThread::IsSameThread()
|
||||
{
|
||||
return GetCurrentThreadId() == threadid;
|
||||
}
|
||||
|
||||
#ifndef _WIN32_WCE
|
||||
UINT __stdcall JThread::TheThread(void *param)
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue