Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
R
rapidjson
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
rapidjson
Commits
39f5eeb7
Commit
39f5eeb7
authored
Nov 17, 2014
by
Milo Yip
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #198 from pah/cleanup/misc
Minor (documentation) cleanups
parents
8acaaa75
c88cc331
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
dtoa.h
include/rapidjson/internal/dtoa.h
+1
-1
writer.h
include/rapidjson/writer.h
+3
-1
No files found.
include/rapidjson/internal/dtoa.h
View file @
39f5eeb7
...
...
@@ -45,7 +45,7 @@ RAPIDJSON_DIAG_OFF(effc++)
struct
DiyFp
{
DiyFp
()
{}
DiyFp
(
uint64_t
f
,
int
e
)
:
f
(
f
),
e
(
e
)
{}
DiyFp
(
uint64_t
f
p
,
int
exp
)
:
f
(
fp
),
e
(
exp
)
{}
DiyFp
(
double
d
)
{
union
{
...
...
include/rapidjson/writer.h
View file @
39f5eeb7
...
...
@@ -59,12 +59,14 @@ public:
//! Constructor
/*! \param os Output stream.
\param
a
llocator User supplied allocator. If it is null, it will create a private one.
\param
stackA
llocator User supplied allocator. If it is null, it will create a private one.
\param levelDepth Initial capacity of stack.
*/
explicit
Writer
(
OutputStream
&
os
,
StackAllocator
*
stackAllocator
=
0
,
size_t
levelDepth
=
kDefaultLevelDepth
)
:
os_
(
&
os
),
level_stack_
(
stackAllocator
,
levelDepth
*
sizeof
(
Level
)),
hasRoot_
(
false
)
{}
explicit
Writer
(
StackAllocator
*
allocator
=
0
,
size_t
levelDepth
=
kDefaultLevelDepth
)
:
os_
(
0
),
level_stack_
(
allocator
,
levelDepth
*
sizeof
(
Level
)),
hasRoot_
(
false
)
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment