Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
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
capnproto
Commits
c11ead5c
Unverified
Commit
c11ead5c
authored
Jan 23, 2019
by
Kenton Varda
Committed by
GitHub
Jan 23, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #789 from UnePierre/typos
Typos in comments
parents
eefc0dd3
c1d43454
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
serialize.h
c++/src/capnp/serialize.h
+1
-1
debug.h
c++/src/kj/debug.h
+1
-1
No files found.
c++/src/capnp/serialize.h
View file @
c11ead5c
...
@@ -189,7 +189,7 @@ void writeMessage(kj::OutputStream& output, kj::ArrayPtr<const kj::ArrayPtr<cons
...
@@ -189,7 +189,7 @@ void writeMessage(kj::OutputStream& output, kj::ArrayPtr<const kj::ArrayPtr<cons
// Specializations for reading from / writing to file descriptors.
// Specializations for reading from / writing to file descriptors.
class
StreamFdMessageReader
:
private
kj
::
FdInputStream
,
public
InputStreamMessageReader
{
class
StreamFdMessageReader
:
private
kj
::
FdInputStream
,
public
InputStreamMessageReader
{
// A MessageReader that reads from a steam-based file descriptor.
// A MessageReader that reads from a st
r
eam-based file descriptor.
public
:
public
:
StreamFdMessageReader
(
int
fd
,
ReaderOptions
options
=
ReaderOptions
(),
StreamFdMessageReader
(
int
fd
,
ReaderOptions
options
=
ReaderOptions
(),
...
...
c++/src/kj/debug.h
View file @
c11ead5c
...
@@ -122,7 +122,7 @@ namespace kj {
...
@@ -122,7 +122,7 @@ namespace kj {
// you to request this behavior with "##__VA_ARGS__".
// you to request this behavior with "##__VA_ARGS__".
// - If __VA_ARGS__ is passed directly as an argument to another macro, it will be treated as a
// - If __VA_ARGS__ is passed directly as an argument to another macro, it will be treated as a
// *single* argument rather than an argument list. This can be worked around by wrapping the
// *single* argument rather than an argument list. This can be worked around by wrapping the
// outer macro call in KJ_EXPAND(), which app
ra
ently forces __VA_ARGS__ to be expanded before
// outer macro call in KJ_EXPAND(), which app
ar
ently forces __VA_ARGS__ to be expanded before
// the macro is evaluated. I don't understand the C preprocessor.
// the macro is evaluated. I don't understand the C preprocessor.
// - Using "#__VA_ARGS__" to stringify __VA_ARGS__ expands to zero tokens when __VA_ARGS__ is
// - Using "#__VA_ARGS__" to stringify __VA_ARGS__ expands to zero tokens when __VA_ARGS__ is
// empty, rather than expanding to an empty string literal. We can work around by concatenating
// empty, rather than expanding to an empty string literal. We can work around by concatenating
...
...
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