aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/info.txt
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-26 16:44:01 +0000
committerlloyd <[email protected]>2010-09-26 16:44:01 +0000
commitedd522e5ceb31180eed22c2f1bcae50e4f79c2ae (patch)
treee6bbf6742f1eebd68cfc014bd3b220eea450805b /src/utils/info.txt
parentecc8ad2244477830c802610016f02a9d5bba8d3e (diff)
There is a pretty common pattern in the code for testing for internal
errors of the form if(some_expr_indicating_failure) throw Internal_Error("Some mildly informative message"); Make this simpiler with the addition of a BOTAN_ASSERT macro which will throw an exception upon failure.
Diffstat (limited to 'src/utils/info.txt')
-rw-r--r--src/utils/info.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/info.txt b/src/utils/info.txt
index 2fb3e79a5..9d8e6173c 100644
--- a/src/utils/info.txt
+++ b/src/utils/info.txt
@@ -3,6 +3,7 @@ define UTIL_FUNCTIONS
load_on always
<source>
+assert.cpp
charset.cpp
cpuid.cpp
mlock.cpp
@@ -13,6 +14,7 @@ version.cpp
</source>
<header:internal>
+assert.h
bit_ops.h
debug.h
mlock.h