ARGOBOTS
dce6e727ffc4ca5b3ffc04cb9517c6689be51ec5
src
include
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 */
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:19
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:223
ABTI_global_get_global_or_null
static ABTI_global * ABTI_global_get_global_or_null(void)
Definition:
abti_global.h:15
Generated on Fri Jan 28 2022 04:21:53 for ARGOBOTS by
1.8.17