CCF/include/ccf/js_plugin.h

19 строки
323 B
C++

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache 2.0 License.
#pragma once
#include <functional>
#include <string>
namespace ccf::js
{
class Context;
struct FFIPlugin
{
std::string name;
std::string ccf_version;
std::function<void(Context& ctx)> extend;
};
}