23fbb4917a
include guards in C headers like the one generated by cbindgen.
14 lines
437 B
C
14 lines
437 B
C
#ifndef @SYMBOL_PREFIX@_CONFIG_H
|
|
#define @SYMBOL_PREFIX@_CONFIG_H
|
|
|
|
/* This header is auto-generated by CMake. */
|
|
|
|
#define @SYMBOL_PREFIX@_VERSION @INTEGER_PROJECT_VERSION@
|
|
|
|
#define @SYMBOL_PREFIX@_MAJOR_VERSION (@SYMBOL_PREFIX@_VERSION / 100000)
|
|
|
|
#define @SYMBOL_PREFIX@_MINOR_VERSION ((@SYMBOL_PREFIX@_VERSION / 100) % 1000)
|
|
|
|
#define @SYMBOL_PREFIX@_PATCH_VERSION (@SYMBOL_PREFIX@_VERSION % 100)
|
|
|
|
#endif /* @SYMBOL_PREFIX@_CONFIG_H */
|