23 lines
484 B
C
23 lines
484 B
C
|
#ifndef RETURN_H
|
||
|
#define RETURN_H
|
||
|
|
||
|
/* Codes used in some functions by Antoine Lefebvre */
|
||
|
#define SUCCESS 0
|
||
|
#define ERROR -1
|
||
|
|
||
|
/*
|
||
|
Return codes
|
||
|
Mark Pinese 24/4/2000
|
||
|
*/
|
||
|
|
||
|
#define ERR_MALLOC -1
|
||
|
#define ERR_FOPEN -2
|
||
|
#define ERR_EOF -3
|
||
|
#define ERR_NOT_ALLOC -4
|
||
|
#define ERR_TOO_MUCH_PRODUCT -5
|
||
|
#define ERR_EQUILIBRIUM -6
|
||
|
#define ERR_AERA_RATIO -7
|
||
|
#define ERR_RATIO_TYPE -8
|
||
|
|
||
|
#endif /* !defined(RETURN_H) */
|