ddb49731cb77a3dadbf16c3c869b37eb3c9f7730
[mesa.git] / src / mapi / glapi / glthread.h
1 #ifndef GLTHREAD_H
2 #define GLTHREAD_H
3
4 #include "u_thread.h"
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 #define _glthread_InitTSD(tsd) u_tsd_init(tsd);
11 #define _glthread_DestroyTSD(tsd) u_tsd_destroy(tsd);
12 #define _glthread_GetTSD(tsd) u_tsd_get(tsd);
13 #define _glthread_SetTSD(tsd, ptr) u_tsd_set(tsd, ptr);
14
15 typedef struct u_tsd _glthread_TSD;
16
17 #ifdef __cplusplus
18 }
19 #endif
20
21 #endif /* GLTHREAD_H */