mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Add minetest.get_mapgen_object to API
This commit is contained in:
@@ -148,6 +148,11 @@ void *JThread::GetReturnValue()
|
||||
return val;
|
||||
}
|
||||
|
||||
bool JThread::IsSameThread()
|
||||
{
|
||||
return pthread_equal(pthread_self(), threadid);
|
||||
}
|
||||
|
||||
void *JThread::TheThread(void *param)
|
||||
{
|
||||
JThread *jthread;
|
||||
|
Reference in New Issue
Block a user