add version checks
This commit is contained in:
parent
fc63a080a0
commit
7b0bfece26
5 changed files with 21 additions and 1 deletions
|
|
@ -2,6 +2,11 @@
|
|||
#define CAPN_A93FC509624C72D9
|
||||
/* AUTO GENERATED - DO NOT EDIT */
|
||||
#include <capn.h>
|
||||
|
||||
#if CAPN_VERSION != 1
|
||||
#error "version mismatch between capn.h and generated code"
|
||||
#endif
|
||||
|
||||
#include "c++.capnp.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue