ModernCMakeExample
An example project with CMake
modern
foo.h
Go to the documentation of this file.
1
#ifndef _FOO_H_
2
#define _FOO_H_
3
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
#include <stdbool.h>
9
10
#define error_check(C) \
11
if(__builtin_expect((C), false))
12
13
typedef
int
err_t
;
14
15
err_t
foo
() ;
16
17
#ifdef __cplusplus
18
}
19
#endif
20
21
#endif
22
foo
err_t foo()
err_t
int err_t
Definition:
foo.h:13
Generated by
1.9.1