ModernCMakeExample
An example project with CMake
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 
16 
17 #ifdef __cplusplus
18 }
19 #endif
20 
21 #endif
22 
err_t foo()
int err_t
Definition: foo.h:13