Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMilo Yip <miloyip@gmail.com>2014-07-01 20:31:30 +0400
committerMilo Yip <miloyip@gmail.com>2014-07-01 20:31:30 +0400
commita74c5da9dae8e5958f3c5f49c9da03c3b1b17246 (patch)
treeacad28420a11c8e3c9238d906e6bd86b0ee70225 /doc
parentc1035cb9701ea59ebb079112f8fa71c63614016a (diff)
Update tutorial.md
Diffstat (limited to 'doc')
-rw-r--r--doc/tutorial.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md
index bbd00bec..113bc300 100644
--- a/doc/tutorial.md
+++ b/doc/tutorial.md
@@ -190,10 +190,10 @@ When querying a number, you can check whether the number can be obtained as targ
Checking | Obtaining
------------------|---------------------
`bool IsNumber()` | N/A
-`bool IsInt()` | `int GetInt()`
`bool IsUint()` | `unsigned GetUint()`
-`bool IsInt64()` | `uint64_t GetInt64()`
-`bool IsUint64()` | `int64_t GetUint()`
+`bool IsInt()` | `int GetInt()`
+`bool IsUint64()` | `uint64_t GetUint()`
+`bool IsInt64()` | `int64_t GetInt64()`
`bool IsDouble()` | `double GetDouble()`
Note that, an integer value may be obtained in various ways without conversion. For example, A value `x` containing `123` will make `x.IsInt() == x.IsUint() == x.Int64() == x.Uint64() == ture`. But a value `y` containing `-3000000000` will only makes `x.int64() == true`.