diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-24 04:15:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-24 04:15:26 +0100 |
| commit | ceaf7bc52712cb60708ed5eb5c62c5e463dd8e89 (patch) | |
| tree | c55e4b85ee30138ce83263045d77d01631378b2e /src/dcp_assert.h | |
| parent | 6c37cc1979b2a01205a888c4c98f3334685ee8dd (diff) | |
Tidying.
Diffstat (limited to 'src/dcp_assert.h')
| -rw-r--r-- | src/dcp_assert.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/dcp_assert.h b/src/dcp_assert.h index d8bf20e6..773739b7 100644 --- a/src/dcp_assert.h +++ b/src/dcp_assert.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014 Carl Hetherington <cth@carlh.net> + Copyright (C) 2014-2021 Carl Hetherington <cth@carlh.net> This file is part of libdcp. @@ -31,6 +31,13 @@ files in the program, then also delete it here. */ + +/** @file src/dcp_assert.h + * @brief DCP_ASSERT macro + */ + + #include "exceptions.h" + #define DCP_ASSERT(x) if (!(x)) throw dcp::ProgrammingError (__FILE__, __LINE__); |
