CiftiLib
A C++ library for CIFTI-2 and CIFTI-1 files
src
Common
CiftiAssert.h
1
#ifndef __CARET_ASSERT_H__
2
#define __CARET_ASSERT_H__
3
4
//some minimal adaptation to cassert
5
#include <cassert>
6
7
#define CiftiAssert(i) assert(i)
8
9
#define CiftiAssertVectorIndex(v, i) assert((i) >= 0 && (i) < static_cast<int64_t>((v).size()))
10
11
#endif //__CARET_ASSERT_H__
Generated by
1.8.16