/[dtapublic]/projs/ets/trunk/src/c_cmode/ccmfatal.h
ViewVC logotype

Annotation of /projs/ets/trunk/src/c_cmode/ccmfatal.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 98 - (hide annotations) (download)
Sun Dec 18 00:57:31 2016 UTC (7 years, 11 months ago) by dashley
Original Path: projs/dtats/trunk/shared_source/c_cmode/ccmfatal.h
File MIME type: text/plain
File size: 2536 byte(s)
Reorganization.
1 dashley 71 //$Header$
2     //-------------------------------------------------------------------------------------------------
3     //This file is part of "David T. Ashley's Shared Source Code", a set of shared components
4     //integrated into many of David T. Ashley's projects.
5     //-------------------------------------------------------------------------------------------------
6     //This source code and any program in which it is compiled/used is provided under the MIT License,
7     //reproduced below.
8     //-------------------------------------------------------------------------------------------------
9     //Permission is hereby granted, free of charge, to any person obtaining a copy of
10     //this software and associated documentation files(the "Software"), to deal in the
11     //Software without restriction, including without limitation the rights to use,
12     //copy, modify, merge, publish, distribute, sublicense, and / or sell copies of the
13     //Software, and to permit persons to whom the Software is furnished to do so,
14     //subject to the following conditions :
15     //
16     //The above copyright notice and this permission notice shall be included in all
17     //copies or substantial portions of the Software.
18     //
19     //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20     //IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21     //FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
22     //AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23     //LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24     //OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25     //SOFTWARE.
26     //-------------------------------------------------------------------------------------------------
27     /*
28     This module defines "C" console mode fatal error behavior. For
29     the most part, it is just a wrapper to give fatal terminations
30     a consistent look. Fatal terminations for "C" console-mode
31     applications are things like out of memory. They are generally
32     fairly routine.
33     */
34    
35     #ifndef CCMFATAL_H_INCLUDED
36     #define CCMFATAL_H_INCLUDED
37    
38     #ifdef MODULE_CCMFATAL
39     #define DECMOD_CCMFATAL
40     #else
41     #define DECMOD_CCMFATAL extern
42     #endif
43    
44     #define CCMFATAL_H_VERSION ("$Header$")
45    
46     DECMOD_CCMFATAL void CCMFATAL_fatal(const char *desc,
47     const char *file,
48     int line);
49     DECMOD_CCMFATAL const char *CCMFATAL_cvcinfo(void);
50     DECMOD_CCMFATAL const char *CCMFATAL_hvcinfo(void);
51     #endif
52    
53     // End of ccmfatal.h.

Properties

Name Value
svn:eol-style native
svn:keywords Header

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25