1:
9:
10:
14:
15:
#ifndef _AG903_COMMON_H_
16:
#define _AG903_COMMON_H_
17:
18:
19:
#ifdef __cplusplus
20:
extern "C" {
21:
#endif
22:
23:
#include <stdint.h>
24:
#include <stdbool.h>
25:
#include <stddef.h>
26:
27:
#include "AG903_errno.h"
28:
#include "AG903_intno.h"
29:
#include "AG903_eventno.h"
30:
31:
32:
33:
38:
#define AG903_LIB_USE_GVD (1)
39:
40:
void AG903_assert(
int cond);
41:
42:
43:
#ifndef NDEBUG
44:
#define ASSERT(x)
AG903_assert(x)
45:
#else
46:
#define ASSERT(x) ((
void)0)
47:
#endif
48:
49:
#ifdef __cplusplus
50: }
51:
#endif
52:
#endif
53:
54:
55: