MBO
 All Data Structures Files Functions Variables Typedefs Enumerations Modules Pages
MboErrors.h
Go to the documentation of this file.
1 /*
2 Copyright 2014 Dominic Meiser
3 
4 This file is part of mbo.
5 
6 mbo is free software: you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation, either version 3 of the License, or (at your
9 option) any later version.
10 
11 mbo is distributed in the hope that it will be useful, but WITHOUT
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
15 
16 You should have received a copy of the GNU General Public License along
17 with mbo. If not, see <http://www.gnu.org/licenses/>.
18 */
27 #ifndef MBO_ERRORS_H
28 #define MBO_ERRORS_H
29 
33 enum MBO_STATUS {
34  MBO_SUCCESS = 0,
35  MBO_OUT_OF_MEMORY,
36  MBO_SPACE_MISMATCH,
37  MBO_VEC_IN_USE,
38  MBO_DIMENSIONS_MISMATCH,
39  MBO_INVALID_ARGUMENT,
40  MBO_ILLEGAL_DIMENSION
41 };
45 typedef enum MBO_STATUS MBO_STATUS;
46 
48 #endif
MBO_STATUS
Error codes used by the MBO library.
Definition: MboErrors.h:33