Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / src / gmxlib / selection / selhelp.c
index 343ac9601213d7ac9af346fd4d909bc31525c43e..7fa44b88c6edbe538f410ab936e603d581d97072 100644 (file)
@@ -113,7 +113,7 @@ static const char *help_eval[] = {
     "remaining expressions are not evaluated at all.",
     "This can be used to optimize the selections: you should write the",
     "most restrictive and/or the most inexpensive expressions first in",
-    "boolean expressions.",
+    "gmx_boolean expressions.",
     "The relative ordering between dynamic and static expressions does not",
     "matter: all static expressions are evaluated only once, before the first",
     "frame, and the result becomes the leftmost expression.[PAR]",
@@ -265,7 +265,7 @@ static const char *help_syntax[] = {
     "1. An expression like [TT]NUM_EXPR1 < NUM_EXPR2[tt] evaluates to an",
     "[TT]ATOM_EXPR[tt] that selects all the atoms for which the comparison",
     "is true.[BR]",
-    "2. Atom expressions can be combined with boolean operations such as",
+    "2. Atom expressions can be combined with gmx_boolean operations such as",
     "[TT]not ATOM_EXPR[tt], [TT]ATOM_EXPR and ATOM_EXPR[tt], or",
     "[TT]ATOM_EXPR or ATOM_EXPR[tt]. Parentheses can be used to alter the",
     "evaluation order.[BR]",
@@ -316,7 +316,7 @@ static const t_selection_help_item helpitems[] = {
  */
 static void
 print_keyword_list(struct gmx_ana_selcollection_t *sc, e_selvalue_t type,
-                   bool bMod)
+                   gmx_bool bMod)
 {
     gmx_sel_symrec_t *symbol;
 
@@ -324,7 +324,7 @@ print_keyword_list(struct gmx_ana_selcollection_t *sc, e_selvalue_t type,
     while (symbol)
     {
         gmx_ana_selmethod_t *method = _gmx_sel_sym_value_method(symbol);
-        bool                 bShow;
+        gmx_bool                 bShow;
         bShow = (method->type == type)
             && ((bMod && (method->flags & SMETH_MODIFIER))
                 || (!bMod && !(method->flags & SMETH_MODIFIER)));