calculator.capnp raw
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 @0xb67dbf34061180a9;
6
7 using Cxx = import "/capnp/c++.capnp";
8 using Proxy = import "/mp/proxy.capnp";
9
10 $Proxy.include("calculator.h");
11 $Proxy.includeTypes("types.h");
12
13 interface CalculatorInterface $Proxy.wrap("Calculator") {
14 destroy @0 (context :Proxy.Context) -> ();
15 solveEquation @1 (context :Proxy.Context, eqn: Text) -> ();
16 }
17