ARGOBOTS  1.1
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 {
12  return gp_ABTI_global;
13 }
14 
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 */
ABTI_global_get_global
static ABTI_global * ABTI_global_get_global(void)
Definition: abti_global.h:9
gp_ABTI_global
ABTI_global * gp_ABTI_global
Definition: global.c:18
ABTI_ASSERT
#define ABTI_ASSERT(cond)
Definition: abti_error.h:12
ABTI_global_set_global
static void ABTI_global_set_global(ABTI_global *p_global)
Definition: abti_global.h:20
ABTI_global
Definition: abti.h:196
ABTI_global_get_global_or_null
static ABTI_global * ABTI_global_get_global_or_null(void)
Definition: abti_global.h:15