Squashed 'src/ipc/libmultiprocess/' content from commit 35944ffd23fa

git-subtree-dir: src/ipc/libmultiprocess
git-subtree-split: 35944ffd23fa26652b82210351d50e896ce16c8f
This commit is contained in:
Ryan Ofsky
2025-04-02 21:41:16 +08:00
commit a2f28e4be9
60 changed files with 5878 additions and 0 deletions

23
include/mp/type-void.h Normal file
View File

@@ -0,0 +1,23 @@
// Copyright (c) 2025 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MP_PROXY_TYPE_VOID_H
#define MP_PROXY_TYPE_VOID_H
#include <mp/util.h>
namespace mp {
template <typename Value>
::capnp::Void BuildPrimitive(InvokeContext& invoke_context, Value&&, TypeList<::capnp::Void>)
{
return {};
}
template <typename LocalType, typename Output>
void CustomBuildField(TypeList<LocalType>, Priority<1>, InvokeContext& invoke_context, ::capnp::Void, Output&& output)
{
}
} // namespace mp
#endif // MP_PROXY_TYPE_VOID_H