ARGOBOTS  dce6e727ffc4ca5b3ffc04cb9517c6689be51ec5
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