diff options
author | James Shaw <jshaw@netsurf-browser.org> | 2007-09-22 23:08:54 +0000 |
---|---|---|
committer | James Shaw <jshaw@netsurf-browser.org> | 2007-09-22 23:08:54 +0000 |
commit | 6b9b7ec69002e062bb48049acdab7e1e7145b0ca (patch) | |
tree | c746866823441f341bc873bcb951f67392f549e1 /test/lib/exceptions.h | |
parent | b41f9b430878ea33ba8da7b30bfb6a81a4dd0317 (diff) | |
download | libdom-6b9b7ec69002e062bb48049acdab7e1e7145b0ca.tar.gz libdom-6b9b7ec69002e062bb48049acdab7e1e7145b0ca.tar.bz2 |
Extend list implementation, add test-list.c to test some of it.
svn path=/trunk/dom/; revision=3573
Diffstat (limited to 'test/lib/exceptions.h')
-rw-r--r-- | test/lib/exceptions.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/lib/exceptions.h b/test/lib/exceptions.h index 1c6b8e2..8b98d5b 100644 --- a/test/lib/exceptions.h +++ b/test/lib/exceptions.h @@ -1,3 +1,10 @@ +/* + * This file is part of libdom test suite. + * Licensed under the MIT License, + * http://www.opensource.org/licenses/mit-license.php + * Copyright 2007 James Shaw <jshaw@netsurf-browser.org> + */ + #ifndef exceptions_h_ #define exceptions_h_ @@ -5,7 +12,8 @@ #include <dom/core/exceptions.h> -/* Usage: +/* Adapted from http://www.math.princeton.edu/~asnowden/c-except.html + Usage: TRY THROW(DOM_NOT_FOUND_ERR); THROW_IF_ERR(dom_document_get_doctype(...)); |