30 #include "cs_config.h" 54 # include <inttypes.h> 66 # define _Bool signed char; 72 # define __bool_true_false_are_defined 1 77 #if !defined(HAVE_INT32_T) 78 # if (SIZEOF_INT == 4) 80 # elif (SIZEOF_SHORT == 4) 81 typedef short int32_t;
89 #if !defined(HAVE_INT64_T) 90 # if (SIZEOF_INT == 8) 92 # elif (SIZEOF_LONG == 8) 94 # elif (HAVE_LONG_LONG == 8) 95 typedef long long int64_t;
103 #if !defined(HAVE_UINT32_T) 104 # if (SIZEOF_INT == 4) 105 typedef unsigned uint32_t;
106 # elif (SIZEOF_SHORT == 4) 107 typedef unsigned short uint32_t;
115 #if !defined(HAVE_UINT64_T) 116 # if (SIZEOF_INT == 8) 117 typedef unsigned uint64_t;
118 # elif (SIZEOF_LONG == 8) 119 typedef unsigned long uint64_t;
120 # elif (HAVE_LONG_LONG) 121 typedef unsigned long long uint64_t;
170 #if defined(__GNUC__) 171 #define restrict __restrict 182 #define ECS_ABS(a) ((a) < 0 ? -(a) : (a)) 183 #define ECS_MIN(a, b) ((a) > (b) ? (b) : (a)) 184 #define ECS_MAX(a, b) ((a) < (b) ? (b) : (a)) 188 #define ECS_PATH_SEP '/' 190 #define ECS_REAL_PRECISION 1.e-13 192 #define ECS_STR_SIZE 80 194 #define ECS_PAS_NUL 0 195 #define ECS_PAS_UNITE 1 197 #define ECS_LNG_AFF_STR 43 198 #define ECS_LNG_AFF_ENT 8 199 #define ECS_LNG_AFF_REE_MANTIS 11 200 #define ECS_LNG_AFF_REE_PRECIS 2 202 #define ECS_FMT_AFF_REE_PARAM "%.15E" 208 #if defined(ENABLE_NLS) 211 #define _(String) gettext(String) 212 #define gettext_noop(String) String 213 #define N_(String) gettext_noop(String) 217 #define _(String) String 218 #define N_(String) String 219 #define textdomain(Domain) 220 #define bindtextdomain(Package, Directory) 230 #if defined(__cplusplus) 231 # define BEGIN_C_DECLS extern "C" { 232 # define END_C_DECLS } 234 # define BEGIN_C_DECLS 290 const int sys_error_code,
Definition: ecs_def.h:159
int ecs_int_t
Definition: ecs_def.h:131
double ecs_coord_t
Definition: ecs_def.h:133
Definition: ecs_def.h:142
char ecs_byte_t
Definition: ecs_def.h:134
Definition: ecs_def.h:144
Definition: ecs_def.h:141
Definition: ecs_def.h:139
int ecs_glob_cgns_ver_rel
Definition: ecs_def.h:156
Definition: ecs_def.h:151
Definition: ecs_def.h:164
void ecs_exit(int statut)
Definition: ecs_def.c:258
const ecs_elt_typ_t ecs_glob_typ_elt[2][9]
Definition: ecs_def.c:82
int ecs_glob_cgns_ver_maj
size_t ecs_size_t
Definition: ecs_def.h:132
Definition: ecs_def.h:140
int ecs_glob_cgns_ver_min
Definition: ecs_def.h:157
Definition: ecs_def.h:143
void ecs_warn(void)
Definition: ecs_def.c:278
ecs_elt_typ_t
Definition: ecs_def.h:149
Definition: ecs_def.h:158
Definition: ecs_def.h:153
void ecs_print_padded_str(const char *str, int width)
Definition: ecs_def.c:328
Definition: ecs_def.h:154
char ecs_glob_build_date[]
Definition: ecs_def.c:59
ecs_type_t
Definition: ecs_def.h:138
Definition: ecs_def.h:161
Definition: ecs_def.h:162
void ecs_error(const char *file_name, const int line_num, const int sys_error_code, const char *format,...)
Definition: ecs_def.c:290
void ecs_init_gestion_erreur(void)
Definition: ecs_def.c:235