Bitcoin Core
31.1.0
P2P Digital Currency
Toggle main menu visibility
Loading...
Searching...
No Matches
src
ipc
libmultiprocess
include
mp
type-void.h
Go to the documentation of this file.
1
// Copyright (c) The Bitcoin Core developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
#ifndef MP_PROXY_TYPE_VOID_H
6
#define MP_PROXY_TYPE_VOID_H
7
8
#include <
mp/util.h
>
9
10
namespace
mp
{
11
template
<
typename
Value>
12
::capnp::Void
BuildPrimitive
(
InvokeContext
& invoke_context, Value&&,
TypeList<::capnp::Void>
)
13
{
14
return
{};
15
}
16
17
template
<
typename
LocalType,
typename
Output>
18
void
CustomBuildField
(
TypeList<LocalType>
,
Priority<1>
,
InvokeContext
& invoke_context, ::capnp::Void, Output&& output)
19
{
20
}
21
}
// namespace mp
22
23
#endif
// MP_PROXY_TYPE_VOID_H
util.h
mp
Functions to serialize / deserialize common bitcoin types.
Definition
common-types.h:57
mp::BuildPrimitive
LocalType BuildPrimitive(InvokeContext &invoke_context, const Value &value, TypeList< LocalType >, typename std::enable_if< std::is_enum< Value >::value >::type *enable=nullptr)
Definition
type-number.h:12
mp::CustomBuildField
void CustomBuildField(TypeList< LocalType >, Priority< 1 >, InvokeContext &invoke_context, Value &&value, Output &&output)
Definition
common-types.h:63
mp::InvokeContext
Definition
proxy-io.h:30
mp::Priority
Definition
util.h:109
mp::TypeList
Generic utility functions used by capnp code.
Definition
util.h:33
Generated on
for Bitcoin Core by
1.17.0