aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/bitcoinkernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/bitcoinkernel.cpp')
-rw-r--r--src/kernel/bitcoinkernel.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/kernel/bitcoinkernel.cpp b/src/kernel/bitcoinkernel.cpp
new file mode 100644
index 0000000000..bb101ba186
--- /dev/null
+++ b/src/kernel/bitcoinkernel.cpp
@@ -0,0 +1,10 @@
+// Copyright (c) 2022 The Bitcoin Core developers
+// Distributed under the MIT software license, see the accompanying
+// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+
+#include <functional>
+#include <string>
+
+// Define G_TRANSLATION_FUN symbol in libbitcoinkernel library so users of the
+// library aren't required to export this symbol
+extern const std::function<std::string(const char*)> G_TRANSLATION_FUN = nullptr;