]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/Exceptions.h
clean up the un-suitable ';' location when declaring the functions. The regular is...
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Tools / Source / ProcessDsc / Exceptions.h
CommitLineData
3eb9473e 1/*++\r
2\r
3Copyright (c) 2004, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name: \r
13\r
14 Exceptions.h\r
15 \r
16Abstract:\r
17\r
18 Defines and function prototypes for the ProcessDsc utility.\r
19 \r
20--*/\r
21\r
22#ifndef _EXCEPTIONS_H_\r
23#define _EXCEPTIONS_H_\r
24\r
25#define VOID void\r
26#define MAX_EXCEPTION_NESTING 4\r
27\r
28//\r
29// Function prototypes\r
30//\r
31int\r
32InitExceptions (\r
33 VOID\r
e00e1d46 34 );\r
3eb9473e 35int\r
36TryException (\r
37 VOID\r
e00e1d46 38 );\r
3eb9473e 39char *\r
40CatchException (\r
41 VOID\r
e00e1d46 42 );\r
3eb9473e 43int\r
44ExceptionThrown (\r
45 VOID\r
e00e1d46 46 );\r
3eb9473e 47int\r
48ThrowException (\r
49 char *EMsg\r
e00e1d46 50 );\r
3eb9473e 51\r
52#endif // ifndef _EXCEPTIONS_H_\r