Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / include / grompp.h
index 5a25a651f49bb50b6f77a03c7d292596ad66193e..8121f997414e7d7be8b8b539d9d96cfcb6a21957 100644 (file)
@@ -47,7 +47,7 @@ extern "C" {
 #define MAXSLEN 32
 
 typedef struct {
-  bool bSet;                    /* Has this combination been set        */
+  gmx_bool bSet;                    /* Has this combination been set        */
   real c[4];                    /* The non-bonded parameters            */
 } t_nbparam;
 /* The t_nbparam struct is used to temporary store the explicit
@@ -87,8 +87,8 @@ typedef struct {
 typedef struct {
   char          **name;
   int          nrexcl;         /* Number of exclusions per atom        */
-  bool         excl_set;       /* Have exclusions been generated?      */
-  bool          bProcessed;     /* Has the mol been processed           */
+  gmx_bool             excl_set;       /* Have exclusions been generated?      */
+  gmx_bool          bProcessed;     /* Has the mol been processed           */
   t_atoms       atoms;          /* Atoms                                */
   t_block       cgs;            /* Charge groups                        */
   t_block       mols;           /* Molecules                            */
@@ -101,7 +101,7 @@ typedef struct {
   int  nr;
 } t_mols;
 
-bool is_int(double x);
+gmx_bool is_int(double x);
 /* Returns TRUE when x is integer */
 
 typedef enum {