Mamba C API reference

Version 2.0

MB_Error.h
Go to the documentation of this file.
1 
2 /*
3  * Copyright (c) <2009>, <Nicolas BEUCHER and ARMINES for the Centre de
4  * Morphologie Mathématique(CMM), common research center to ARMINES and MINES
5  * Paristech>
6  *
7  * Permission is hereby granted, free of charge, to any person
8  * obtaining a copy of this software and associated documentation files
9  * (the "Software"), to deal in the Software without restriction, including
10  * without limitation the rights to use, copy, modify, merge, publish,
11  * distribute, sublicense, and/or sell copies of the Software, and to permit
12  * persons to whom the Software is furnished to do so, subject to the following
13  * conditions: The above copyright notice and this permission notice shall be
14  * included in all copies or substantial portions of the Software.
15  *
16  * Except as contained in this notice, the names of the above copyright
17  * holders shall not be used in advertising or otherwise to promote the sale,
18  * use or other dealings in this Software without their prior written
19  * authorization.
20  *
21  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27  * THE SOFTWARE.
28  */
29 #ifndef __MB_Error_H
30 #define __MB_Error_H
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
37 typedef enum {
71 } MB_errcode;
72 
77 extern MB_API_ENTRY char * MB_API_CALL
78 MB_StrErr(MB_errcode error_nb);
79 
80 #ifdef __cplusplus
81 }
82 #endif
83 
84 #endif
Definition: MB_Error.h:54
Definition: MB_Error.h:70
Definition: MB_Error.h:44
Definition: MB_Error.h:60
Definition: MB_Error.h:68
Definition: MB_Error.h:50
Definition: MB_Error.h:48
Definition: MB_Error.h:39
Definition: MB_Error.h:58
Definition: MB_Error.h:64
MB_errcode
Definition: MB_Error.h:37
MB_API_ENTRY char *MB_API_CALL MB_StrErr(MB_errcode error_nb)