add version checks
This commit is contained in:
parent
fc63a080a0
commit
7b0bfece26
5 changed files with 21 additions and 1 deletions
2
capn.h
2
capn.h
|
|
@ -16,6 +16,8 @@ extern "C" {
|
|||
#define CAPN_INLINE static
|
||||
#endif
|
||||
|
||||
#define CAPN_VERSION 1
|
||||
|
||||
/* struct capn is a common structure shared between segments in the same
|
||||
* session/context so that far pointers between segments will be created.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue