1
0
Fork 0

assert a certain size

This commit is contained in:
jsteemann 2016-08-16 17:38:24 +02:00
parent 803a3c84ce
commit b06cf9ea3b
1 changed files with 2 additions and 0 deletions

View File

@ -137,6 +137,8 @@ struct TRI_vpack_sub_t {
VPackSlice slice(TRI_doc_mptr_t const* mptr) const;
};
static_assert(sizeof(TRI_vpack_sub_t) == 12, "invalid size of TRI_vpack_sub_t");
/// @brief fill a TRI_vpack_sub_t structure with a subvalue
void TRI_FillVPackSub(TRI_vpack_sub_t* sub,
VPackSlice const base, VPackSlice const value) noexcept;