-
-
Notifications
You must be signed in to change notification settings - Fork 496
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow INIReader to read 64-bit integers (#151)
Add INIReader::GetInteger64 and INIReader::GetUnsigned64
- Loading branch information
Showing
5 changed files
with
42 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Config loaded from 'test.ini': version=6, unsigned version=6, name=Bob Smith, [email protected], pi=3.14159, active=1 | ||
Config loaded from 'test.ini': version=6, unsigned version=6, trillion=1000000000000, unsigned trillion=1000000000000, name=Bob Smith, [email protected], pi=3.14159, active=1 | ||
Has values: user.name=1, user.nose=0 | ||
Has sections: user=1, fizz=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
; Test config file for ini_example.c and INIReaderTest.cpp | ||
|
||
[protocol] ; Protocol configuration | ||
version=6 ; IPv6 | ||
[protocol] ; Protocol configuration | ||
version=6 ; IPv6 | ||
|
||
[user] | ||
name = Bob Smith ; Spaces around '=' are stripped | ||
email = [email protected] ; And comments (like this) ignored | ||
active = true ; Test a boolean | ||
pi = 3.14159 ; Test a floating point number | ||
name = Bob Smith ; Spaces around '=' are stripped | ||
email = [email protected] ; And comments (like this) ignored | ||
active = true ; Test a boolean | ||
pi = 3.14159 ; Test a floating point number | ||
trillion = 1000000000000 ; Test 64-bit integers |