
|
84782 packages online
|
|
 |
|
dev/src/cexcept.lha |
|
No screenshot available
|
Short: | Exception handling interface for ANSI C |
Author: | amc cs.berkeley.edu (Adam M. Costello) |
Uploader: | polluks sdf lonestar org (Stefan Haubenthal) |
Type: | dev/src |
Version: | 2.0.0 |
Architecture: | m68k-amigaos |
Date: | 2002-07-07 |
Download: | dev/src/cexcept.lha - View contents | Readme: | dev/src/cexcept.readme |
Downloads: | 2357 |
|
cexcept (pronounced "see except" in English) is a package providing
a Try/Catch/Throw exception handling interface for ANSI C (C89 and
subsequent ISO standards). It does not attempt to handle "real"
exceptions like floating-point exceptions or addressing exceptions; it
is intended as an enhanced user-friendly alternative to setjmp() and
longjmp().
enter foo(0)
enter demo_throw(0)
return from demo_throw(0)
return from foo(0)
enter foo(1)
enter demo_throw(1)
exception 42
enter foo(3)
enter demo_throw(3)
anonymous exception
enter bar
enter foo
enter demo_throw
return from demo_throw
return from foo
return from bar
enter bar
enter foo
enter demo_throw
bar caught oops (info == 17): demo oops message
return from bar
enter bar
enter foo
enter demo_throw
main caught barf (info == ABCDEFG): demo barf message
|
Contents of dev/src/cexcept.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 3775 10302 36.6% -lh5- 3573 Jul 12 2001 cexcept-2-0-0/cexcept.h
[generic] 5305 8268 64.2% -lh5- f8f6 Jul 1 2002 cexcept-2-0-0/example1
[generic] 663 1446 45.9% -lh5- aa50 Jul 12 2001 cexcept-2-0-0/example1.c
[generic] 5645 8860 63.7% -lh5- 820a Jul 1 2002 cexcept-2-0-0/example2
[generic] 1100 3139 35.0% -lh5- 8001 Jul 12 2001 cexcept-2-0-0/example2.c
[generic] 2737 7418 36.9% -lh5- c408 Jul 12 2001 cexcept-2-0-0/rationale
[generic] 2385 6668 35.8% -lh5- b4b5 Jul 12 2001 cexcept-2-0-0/README
[generic] 230 386 59.6% -lh5- aad0 Jul 1 2002 cexcept-2-0-0/Smakefile
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 8 files 21840 46487 47.0% Jul 7 2002
|
|
|
 |
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |