Initial release: RadiantWave v1.0
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
package sdl
|
||||
|
||||
// #include "sdl_wrapper.h"
|
||||
import "C"
|
||||
|
||||
// CurrentThreadID gets the thread identifier for the current thread.
|
||||
// (https://wiki.libsdl.org/SDL_ThreadID)
|
||||
func CurrentThreadID() uint {
|
||||
return uint(C.SDL_ThreadID())
|
||||
}
|
||||
Reference in New Issue
Block a user