Commit 392f8c7a authored by Mark Lindner's avatar Mark Lindner

new release candidate

parent 170131f9
......@@ -37,5 +37,5 @@ MinGW environment or with Visual Studio 2008 or later using the provided
solution file.
<center>
<a href="dist/libconfig-1.7-rc1.tar.gz"><b>libconfig-1.7-rc1.tar.gz</b></a>
<a href="dist/libconfig-1.7-rc2.tar.gz"><b>libconfig-1.7-rc2.tar.gz</b></a>
</center>
......@@ -555,7 +555,7 @@ characters, dashes (&lsquo;<samp>-</samp>&rsquo;), underscores (&lsquo;<samp>_</
characters are allowed.
</p>
<p>In C and C++, integer, 64-bit integer, floating point, and string
values are mapped to the types <code>int</code>, <code>long long</code>,
values are mapped to the native types <code>int</code>, <code>long long</code>,
<code>double</code>, and <code>const char *</code>, respectively. The boolean type
is mapped to <code>int</code> in C and <code>bool</code> in C++.
</p>
......@@ -670,6 +670,16 @@ of version 1.5 of the library, the trailing &lsquo;L&rsquo; is optional; if the
integer value exceeds the range of a 32-bit integer, it will
automatically be interpreted as a 64-bit integer.
</p>
<p>The <i>integer</i> and <i>64-bit integer</i> setting types are interchangeable to the
extent that a conversion between the corresponding native types would not
result in an overflow or underflow. For example, a <i>long long</i> value can be
written to a setting that has an <i>integer</i> type, if that value is within the
range of an <i>int</i>. This rule applies to every API function or method that
reads a value from or writes a value to a setting: if the type conversion would
not result in an overflow or underflow, then the call will succeed, and
otherwise it will fail. This behavior was not well-defined prior to version 1.7
of the library.
</p>
<hr>
<a name="Floating-Point-Values"></a>
<div class="header">
......@@ -2339,8 +2349,8 @@ applies to settings of type <code>TypeInt</code> and <code>TypeInt64</code>. If
</dd></dl>
<dl>
<dt><a name="index-exists-on-Setting"></a>Method on Setting: <em>bool</em> <strong>exists</strong> <em>(const&nbsp;std::string&nbsp;&amp;<var>name</var><!-- /@w -->)</em></dt>
<dt><a name="index-exists-on-Setting-1"></a>Method on Setting: <em>bool</em> <strong>exists</strong> <em>(const&nbsp;char&nbsp;*<var>name</var><!-- /@w -->)</em></dt>
<dt><a name="index-exists-on-Setting"></a>Method on Setting: <em>bool</em> <strong>exists</strong> <em>(const&nbsp;std::string&nbsp;&amp;<var>name</var><!-- /@w -->) const</em></dt>
<dt><a name="index-exists-on-Setting-1"></a>Method on Setting: <em>bool</em> <strong>exists</strong> <em>(const&nbsp;char&nbsp;*<var>name</var><!-- /@w -->) const</em></dt>
<dd>
<p>These methods test if the setting has a child setting with the given
<var>name</var>. They return <code>true</code> if the setting exists, and
......@@ -2454,6 +2464,11 @@ another file.
<dd><p>The C++ equivalent of <samp>example3.c</samp>
</p>
</dd>
<dt><samp>examples/c/example4.c</samp></dt>
<dd><p>An example C program that uses a custom include function for processing
wildcard includes. Note that this code will not compile on Windows.
</p>
</dd>
</dl>
<hr>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment