Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef _KIT_COREPRIVATE_H
- #define _KIT_COREPRIVATE_H
- #include <SDL2/SDL.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- //bitmasks for _kit_coreGlobals.capabilities
- #define _SSE_MASK (1<<5)
- #define _SSE2_MASK (1<<4)
- #define _SSE3_MASK (1<<3)
- #define _SSE41_MASK (1<<2) //(SSE4.1)
- #define _AVX_MASK (1<<1)
- #define _AVX2_MASK (1<<0)
- struct _kit_coreGlobals_t {
- SDL_mutex* lock;
- int cores, capabilities;
- int init;
- };
- extern struct _kit_coreGlobals_t _kit_coreGlobals;
- #ifdef __cplusplus
- }
- #endif
- #endif /* _KIT_COREPRIVATE_H */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement