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
96e9663a
Commit
96e9663a
authored
Jul 23, 2015
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix link errors.
parent
d4cd01e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
capability.c++
c++/src/capnp/capability.c++
+0
-2
layout.c++
c++/src/capnp/layout.c++
+8
-0
No files found.
c++/src/capnp/capability.c++
View file @
96e9663a
...
@@ -105,8 +105,6 @@ kj::Promise<void> ClientHook::whenResolved() {
...
@@ -105,8 +105,6 @@ kj::Promise<void> ClientHook::whenResolved() {
}
}
}
}
const
uint
ClientHook
::
NULL_CAPABILITY_BRAND
=
0
;
// =======================================================================================
// =======================================================================================
static
inline
uint
firstSegmentSize
(
kj
::
Maybe
<
MessageSize
>
sizeHint
)
{
static
inline
uint
firstSegmentSize
(
kj
::
Maybe
<
MessageSize
>
sizeHint
)
{
...
...
c++/src/capnp/layout.c++
View file @
96e9663a
...
@@ -43,6 +43,14 @@ void setGlobalBrokenCapFactoryForLayoutCpp(BrokenCapFactory& factory) {
...
@@ -43,6 +43,14 @@ void setGlobalBrokenCapFactoryForLayoutCpp(BrokenCapFactory& factory) {
// is ready for it. May be called multiple times but always with the same value.
// is ready for it. May be called multiple times but always with the same value.
__atomic_store_n
(
&
brokenCapFactory
,
&
factory
,
__ATOMIC_RELAXED
);
__atomic_store_n
(
&
brokenCapFactory
,
&
factory
,
__ATOMIC_RELAXED
);
}
}
}
// namespace _ (private)
const
uint
ClientHook
::
NULL_CAPABILITY_BRAND
=
0
;
// Defined here rather than capability.c++ so that we can safely call isNull() in this file.
namespace
_
{
// private
#endif // !CAPNP_LITE
#endif // !CAPNP_LITE
// =======================================================================================
// =======================================================================================
...
...
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