summaryrefslogtreecommitdiff
path: root/src/dcp_assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dcp_assert.h')
-rw-r--r--src/dcp_assert.h9
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__);