add version checks

This commit is contained in:
James McKaskill 2013-09-12 23:28:36 -04:00
parent fc63a080a0
commit 7b0bfece26
5 changed files with 21 additions and 1 deletions

2
capn.h
View file

@ -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.
*