Cleaned up thread state handling and added thread object validation

This commit is contained in:
Sam Lantinga
2024-12-26 09:28:01 -08:00
parent 7647f16ae1
commit eb1be89e70
6 changed files with 54 additions and 34 deletions

View File

@@ -60,6 +60,7 @@ typedef enum
SDL_OBJECT_TYPE_SENSOR,
SDL_OBJECT_TYPE_HIDAPI_DEVICE,
SDL_OBJECT_TYPE_HIDAPI_JOYSTICK,
SDL_OBJECT_TYPE_THREAD,
} SDL_ObjectType;