CCF
Loading...
Searching...
No Matches
include
ccf
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
8
namespace
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
}
ccf::js::core::Context
Definition
context.h:46
ccf::js
Definition
bundle.h:12
ccf::js::FFIPlugin
Definition
js_plugin.h:16
ccf::js::FFIPlugin::ccf_version
std::string ccf_version
Definition
js_plugin.h:18
ccf::js::FFIPlugin::name
std::string name
Definition
js_plugin.h:17
ccf::js::FFIPlugin::extend
std::function< void(core::Context &ctx)> extend
Definition
js_plugin.h:19
Generated by
1.9.8