Bitcoin Core  29.1.0
P2P Digital Currency
bitcoinkernel.cpp
Go to the documentation of this file.
1 // Copyright (c) 2022 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 #include <util/translation.h>
5 
6 #include <functional>
7 #include <string>
8 
9 // Define G_TRANSLATION_FUN symbol in libbitcoinkernel library so users of the
10 // library aren't required to export this symbol
11 extern const TranslateFn G_TRANSLATION_FUN{nullptr};
const TranslateFn G_TRANSLATION_FUN
Definition: bitcoin-cli.cpp:53
std::function< std::string(const char *)> TranslateFn
Translate a message to the native language of the user.
Definition: translation.h:16