mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 09:25:37 +02:00
Add minetest.get_mapgen_object to API
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user