Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / include / typedefs.h
index 531e64ad61424ba166876c54f16a56eab1f9c433..db73583d51accda49884273fda0328da85de57e5 100644 (file)
@@ -87,7 +87,7 @@ extern "C" {
 /* This factor leads to 4 realloc calls to double the array size */
 #define OVER_ALLOC_FAC 1.19
 
-void set_over_alloc_dd(bool set);
+void set_over_alloc_dd(gmx_bool set);
   /* Turns over allocation for variable size atoms/cg/top arrays on or off,
    * default is off.
    */
@@ -141,7 +141,7 @@ void done_blocka(t_blocka *block);
 void done_atom (t_atoms *at);
 void done_moltype(gmx_moltype_t *molt);
 void done_molblock(gmx_molblock_t *molb);
-void done_mtop(gmx_mtop_t *mtop,bool bDoneSymtab);
+void done_mtop(gmx_mtop_t *mtop,gmx_bool bDoneSymtab);
 void done_top(t_topology *top);
 void done_inputrec(t_inputrec *ir);
 void done_state(t_state *state);
@@ -152,7 +152,7 @@ void set_box_rel(t_inputrec *ir,t_state *state);
 void preserve_box_shape(t_inputrec *ir,matrix box_rel,matrix b);
 /* Preserve the box shape, b can be box or boxv */
 
-void stupid_fill_block(t_block *grp, int natom,bool bOneIndexGroup);
+void stupid_fill_block(t_block *grp, int natom,gmx_bool bOneIndexGroup);
 /* Fill a block structure with numbers identical to the index
  * (0, 1, 2, .. natom-1)
  * If bOneIndexGroup, then all atoms are  lumped in one index group,
@@ -165,7 +165,7 @@ void stupid_fill_blocka(t_blocka *grp, int natom);
  * There is one atom per index entry
  */
 
-void init_t_atoms(t_atoms *atoms, int natoms, bool bPdbinfo);
+void init_t_atoms(t_atoms *atoms, int natoms, gmx_bool bPdbinfo);
 /* allocate memory for the arrays, set nr to natoms and nres to 0
  * set pdbinfo to NULL or allocate memory for it */  
 
@@ -182,7 +182,7 @@ void t_atoms_set_resinfo(t_atoms *atoms,int atom_ind,t_symtab *symtab,
  * of atom index atom_ind.
  */
 
-void free_t_atoms(t_atoms *atoms,bool bFreeNames);
+void free_t_atoms(t_atoms *atoms,gmx_bool bFreeNames);
 /* Free all the arrays and set the nr and nres to 0.
  * bFreeNames tells if to free the atom and residue name strings,
  * don't free them if they still need to be used in e.g. the topology struct.