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 | bac4a13febf82bea5c188c45d32fcedc7e868597 (patch) | |
tree | c746866823441f341bc873bcb951f67392f549e1 /test/lib/exceptions.h | |
parent | d92e7f8b5d95e832101ab8a5b58630caec1ebd57 (diff) | |
download | libdom-bac4a13febf82bea5c188c45d32fcedc7e868597.tar.gz libdom-bac4a13febf82bea5c188c45d32fcedc7e868597.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(...)); |