CCF
Loading...
Searching...
No Matches
js_plugin.h
Go to the documentation of this file.
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the Apache 2.0 License.
3#pragma once
4
5#include <functional>
6#include <string>
7
8namespace ccf::js
9{
10 namespace core
11 {
12 class Context;
13 }
14
15 struct FFIPlugin
16 {
17 std::string name;
18 std::string ccf_version;
19 std::function<void(core::Context& ctx)> extend;
20 };
21}
Definition context.h:46
Definition bundle.h:12
Definition js_plugin.h:16
std::string ccf_version
Definition js_plugin.h:18
std::string name
Definition js_plugin.h:17
std::function< void(core::Context &ctx)> extend
Definition js_plugin.h:19