Skip to content

Commit 89e7e21

Browse files
author
Charles PIGNEROL
committed
Version 7.12.0 : swig 4.3.* port, replacing instances of the auto_ptr class with instances of the unique_ptr class.
1 parent 5552559 commit 89e7e21

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/Lima/public/Lima/lima.h

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extern "C" {
3131

3232
/** Types enum pour l'acces aux fichiers et la preparation
3333
*/
34-
enum LM_FORMAT_FICHIER {
34+
typedef enum LM_FORMAT_FICHIER {
3535
/** Detection du format par le suffixe du nom du fichier.
3636
* Formats utilises pour la lecture et l'ecriture */
3737
LM_FF_SUFFIXE = 0,
@@ -89,14 +89,13 @@ extern "C" {
8989
LM_FF_MALIPP2 = 15,
9090
#endif
9191
LM_FF_INCONNU
92-
};
93-
// typedef enum LM_FORMAT_FICHIER LM_FORMAT_FICHIER;
92+
} LM_FORMAT_FICHIER;
9493

9594

9695
/** Niveau de preparation du maillage pour les codes
9796
* (verification et traitement)
9897
*/
99-
enum LM_PREPARATION {
98+
typedef enum LM_PREPARATION {
10099
/** Preparation minimale. Verification d'integrite uniquement.
101100
Seul les donnees de base sont autorise en consultation */
102101
LM_PR_MINIMALE = 1,
@@ -112,9 +111,7 @@ extern "C" {
112111
LM_PR_BASE_3D = 6,
113112
LM_PR_CODE_T = 7,
114113
LM_PR_INCONNU
115-
};
116-
// typedef enum LM_PREPARATION LM_PREPARATION;
117-
114+
} LM_PREPARATION;
118115

119116

120117
#ifdef __INTERNE_MACHINE_TYPES

0 commit comments

Comments
 (0)