SU2
gk_externs.h
Go to the documentation of this file.
1 
10 #ifndef _GK_EXTERNS_H_
11 #define _GK_EXTERNS_H_
12 
13 /*************************************************************************
14 * Extern variable definition. Hopefully, the __thread makes them thread-safe.
15 **************************************************************************/
16 #ifndef _GK_ERROR_C_
17 
18 /* declared in error.c */
19 #ifdef TLS
20 extern TLS int gk_cur_jbufs;
21 extern TLS jmp_buf gk_jbufs[];
22 extern TLS jmp_buf gk_jbuf;
23 #else
24 extern int gk_cur_jbufs;
25 extern jmp_buf gk_jbufs[];
26 extern jmp_buf gk_jbuf;
27 #endif // TLS
28 
29 #endif
30 
31 #endif