ARGOBOTS  8bef54a19d7b3e50f977f85716578b627bf37d9c
abti_global.h
Go to the documentation of this file.
1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
2 /*
3  * See COPYRIGHT in top-level directory.
4  */
5 
6 #ifndef ABTI_GLOBAL_H_INCLUDED
7 #define ABTI_GLOBAL_H_INCLUDED
8 
9 static inline ABTI_global *ABTI_global_get_global(void)
10 {
11  ABTI_ASSERT(gp_ABTI_global);
12  return gp_ABTI_global;
13 }
14 
15 static inline ABTI_global *ABTI_global_get_global_or_null(void)
16 {
17  return gp_ABTI_global;
18 }
19 
20 static inline void ABTI_global_set_global(ABTI_global *p_global)
21 {
22  gp_ABTI_global = p_global;
23 }
24 
25 #endif /* ABTI_GLOBAL_H_INCLUDED */
gp_ABTI_global
ABTI_global * gp_ABTI_global
Definition: global.c:19