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
ba49d48a
Commit
ba49d48a
authored
Oct 31, 2013
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Makefile.am for RPC.
parent
5f6baed9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
6 deletions
+15
-6
Makefile.am
c++/Makefile.am
+10
-2
regenerate-bootstraps.sh
c++/regenerate-bootstraps.sh
+2
-1
capnpc.ekam-rule
c++/src/capnp/capnpc.ekam-rule
+1
-1
object.h
c++/src/capnp/object.h
+1
-1
rpc.c++
c++/src/capnp/rpc.c++
+1
-1
rpc.capnp.c++
c++/src/capnp/rpc.capnp.c++
+0
-0
rpc.capnp.h
c++/src/capnp/rpc.capnp.h
+0
-0
No files found.
c++/Makefile.am
View file @
ba49d48a
...
@@ -92,6 +92,7 @@ public_capnpc_inputs = \
...
@@ -92,6 +92,7 @@ public_capnpc_inputs = \
capnpc_inputs
=
\
capnpc_inputs
=
\
$(public_capnpc_inputs)
\
$(public_capnpc_inputs)
\
src/capnp/rpc.capnp
\
src/capnp/compiler/lexer.capnp
\
src/capnp/compiler/lexer.capnp
\
src/capnp/compiler/grammar.capnp
src/capnp/compiler/grammar.capnp
...
@@ -100,6 +101,8 @@ capnpc_outputs = \
...
@@ -100,6 +101,8 @@ capnpc_outputs = \
src/capnp/c++.capnp.h
\
src/capnp/c++.capnp.h
\
src/capnp/schema.capnp.c++
\
src/capnp/schema.capnp.c++
\
src/capnp/schema.capnp.h
\
src/capnp/schema.capnp.h
\
src/capnp/rpc.capnp.c++
\
src/capnp/rpc.capnp.h
\
src/capnp/compiler/lexer.capnp.c++
\
src/capnp/compiler/lexer.capnp.c++
\
src/capnp/compiler/lexer.capnp.h
\
src/capnp/compiler/lexer.capnp.h
\
src/capnp/compiler/grammar.capnp.c++
\
src/capnp/compiler/grammar.capnp.c++
\
...
@@ -157,7 +160,8 @@ includecapnp_HEADERS = \
...
@@ -157,7 +160,8 @@ includecapnp_HEADERS = \
src/capnp/serialize.h
\
src/capnp/serialize.h
\
src/capnp/serialize-packed.h
\
src/capnp/serialize-packed.h
\
src/capnp/pointer-helpers.h
\
src/capnp/pointer-helpers.h
\
src/capnp/generated-header-support.h
src/capnp/generated-header-support.h
\
src/capnp/rpc.h
lib_LTLIBRARIES
=
libkj.la libcapnp.la libcapnpc.la
lib_LTLIBRARIES
=
libkj.la libcapnp.la libcapnpc.la
...
@@ -202,7 +206,10 @@ libcapnp_la_SOURCES= \
...
@@ -202,7 +206,10 @@ libcapnp_la_SOURCES= \
src/capnp/dynamic.c++
\
src/capnp/dynamic.c++
\
src/capnp/stringify.c++
\
src/capnp/stringify.c++
\
src/capnp/serialize.c++
\
src/capnp/serialize.c++
\
src/capnp/serialize-packed.c++
src/capnp/serialize-packed.c++
\
src/capnp/rpc.c++
\
src/capnp/rpc.capnp.c++
\
src/capnp/rpc.capnp.h
# -lpthread is here to work around https://bugzilla.redhat.com/show_bug.cgi?id=661333
# -lpthread is here to work around https://bugzilla.redhat.com/show_bug.cgi?id=661333
libcapnpc_la_LIBADD
=
libcapnp.la libkj.la
$(PTHREAD_LIBS)
-lpthread
libcapnpc_la_LIBADD
=
libcapnp.la libkj.la
$(PTHREAD_LIBS)
-lpthread
...
@@ -329,6 +336,7 @@ capnp_test_SOURCES = \
...
@@ -329,6 +336,7 @@ capnp_test_SOURCES = \
src/capnp/orphan-test.c++
\
src/capnp/orphan-test.c++
\
src/capnp/serialize-test.c++
\
src/capnp/serialize-test.c++
\
src/capnp/serialize-packed-test.c++
\
src/capnp/serialize-packed-test.c++
\
src/capnp/rpc-test.c++
\
src/capnp/test-util.c++
\
src/capnp/test-util.c++
\
src/capnp/test-util.h
\
src/capnp/test-util.h
\
src/capnp/compiler/lexer-test.c++
\
src/capnp/compiler/lexer-test.c++
\
...
...
c++/regenerate-bootstraps.sh
View file @
ba49d48a
...
@@ -6,4 +6,5 @@ export PATH=$PWD/bin:$PWD:$PATH
...
@@ -6,4 +6,5 @@ export PATH=$PWD/bin:$PWD:$PATH
capnp compile
-Isrc
--no-standard-import
--src-prefix
=
src
-oc
++:src
\
capnp compile
-Isrc
--no-standard-import
--src-prefix
=
src
-oc
++:src
\
src/capnp/c++.capnp src/capnp/schema.capnp
\
src/capnp/c++.capnp src/capnp/schema.capnp
\
src/capnp/compiler/lexer.capnp src/capnp/compiler/grammar.capnp
src/capnp/compiler/lexer.capnp src/capnp/compiler/grammar.capnp
\
src/capnp/rpc.capnp
c++/src/capnp/capnpc.ekam-rule
View file @
ba49d48a
...
@@ -35,7 +35,7 @@ INPUT=$1
...
@@ -35,7 +35,7 @@ INPUT=$1
case
"
$INPUT
"
in
case
"
$INPUT
"
in
*
capnp/c++.capnp
|
\
*
capnp/c++.capnp
|
\
*
capnp/schema.capnp
|
\
*
capnp/schema.capnp
|
\
*
capnp/
schema2
.capnp
|
\
*
capnp/
rpc
.capnp
|
\
*
capnp/compiler/lexer.capnp
|
\
*
capnp/compiler/lexer.capnp
|
\
*
capnp/compiler/grammar.capnp
)
*
capnp/compiler/grammar.capnp
)
exit
0
exit
0
...
...
c++/src/capnp/object.h
View file @
ba49d48a
...
@@ -263,7 +263,7 @@ public:
...
@@ -263,7 +263,7 @@ public:
template
<
typename
T
>
template
<
typename
T
>
inline
Orphan
(
Orphan
<
T
>&&
other
)
:
builder
(
kj
::
mv
(
other
.
builder
))
{}
inline
Orphan
(
Orphan
<
T
>&&
other
)
:
builder
(
kj
::
mv
(
other
.
builder
))
{}
template
<
typename
T
>
template
<
typename
T
>
inline
Orphan
&
operator
=
(
Orphan
<
T
>&&
other
)
{
builder
=
kj
::
mv
(
other
.
builder
);
}
inline
Orphan
&
operator
=
(
Orphan
<
T
>&&
other
)
{
builder
=
kj
::
mv
(
other
.
builder
);
return
*
this
;
}
// Cast from typed orphan.
// Cast from typed orphan.
// It's not possible to get an ObjectPointer::{Reader,Builder} directly since there is no
// It's not possible to get an ObjectPointer::{Reader,Builder} directly since there is no
...
...
c++/src/capnp/rpc.c++
View file @
ba49d48a
...
@@ -241,7 +241,7 @@ struct Answer {
...
@@ -241,7 +241,7 @@ struct Answer {
kj
::
Maybe
<
kj
::
Own
<
const
PipelineHook
>>
pipeline
;
kj
::
Maybe
<
kj
::
Own
<
const
PipelineHook
>>
pipeline
;
// Send pipelined calls here. Becomes null as soon as a `Finish` is received.
// Send pipelined calls here. Becomes null as soon as a `Finish` is received.
kj
::
Promise
<
void
>
asyncOp
=
nullptr
;
kj
::
Promise
<
void
>
asyncOp
=
kj
::
Promise
<
void
>
(
nullptr
)
;
// Delete this promise to cancel the call.
// Delete this promise to cancel the call.
kj
::
Maybe
<
const
CallContext
&>
callContext
;
kj
::
Maybe
<
const
CallContext
&>
callContext
;
...
...
c++/src/capnp/rpc.capnp.c++
0 → 100644
View file @
ba49d48a
This diff is collapsed.
Click to expand it.
c++/src/capnp/rpc.capnp.h
0 → 100644
View file @
ba49d48a
This diff is collapsed.
Click to expand it.
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