miniini/include/globals.h File Reference

#include "typedefs.h"

Go to the source code of this file.

Defines

#define BOOLNUM   3
 Number of elements in truebools and falsebools.

Functions

void INISetComment (const char comment_char)
 Sets comment character.

Variables

miniini_private::comment = ';'
 Single line comment character. ';' by default. Can be defined by user.
miniini_private::linesep [3] = {10, 13, 0}
 Characters parsed as line separators.
miniini_private::truebools [BOOLNUM][8] = {"true", "yes", "1"}
 Strings parsed as true booleans in INISection::ReadBool/s.
miniini_private::falsebools [BOOLNUM][8] = {"false", "no", "0"}
 Strings parsed as false booleans in INISection::ReadBool/s.

Define Documentation

#define BOOLNUM   3

Number of elements in truebools and falsebools.

Definition at line 20 of file globals.h.


Function Documentation

void INISetComment ( const char  comment_char  ) 

Sets comment character.

Default comment character is ';'. This function changes it to given character.

Parameters:
comment_char New comment character.

Definition at line 26 of file globals.cpp.

 All Classes Files Functions Defines

Generated by  doxygen 1.6.2