Add contract
This commit is contained in:
1 parent
20be2d8850
commit
3f2a641cdf
1 file changed
+1
@@ -365,6 +365,7 @@ static inline unsigned int snapshot_mrsw_int_write_idx(snapshot_mrsw_int_t s, un
|
|||||||
static inline unsigned int snapshot_mrsw_int_write(snapshot_mrsw_int_t s)
|
static inline unsigned int snapshot_mrsw_int_write(snapshot_mrsw_int_t s)
|
||||||
{
|
{
|
||||||
s->currentWrite = snapshot_mrsw_int_write_idx(s, s->currentWrite);
|
s->currentWrite = snapshot_mrsw_int_write_idx(s, s->currentWrite);
|
||||||
|
SNAPSHOTI_MRSW_INT_CONTRACT(s);
|
||||||
return s->currentWrite;
|
return s->currentWrite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user