mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
git-subtree-dir: src/ipc/libmultiprocess git-subtree-split: 35944ffd23fa26652b82210351d50e896ce16c8f
16 lines
525 B
Cap'n Proto
16 lines
525 B
Cap'n Proto
# Copyright (c) 2021 The Bitcoin Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
@0xb67dbf34061180a9;
|
|
|
|
using Cxx = import "/capnp/c++.capnp";
|
|
using Proxy = import "/mp/proxy.capnp";
|
|
|
|
$Proxy.include("calculator.h");
|
|
$Proxy.includeTypes("types.h");
|
|
|
|
interface CalculatorInterface $Proxy.wrap("Calculator") {
|
|
destroy @0 (context :Proxy.Context) -> ();
|
|
solveEquation @1 (context :Proxy.Context, eqn: Text) -> ();
|
|
}
|