memgraph/include/query_engine/memgraph_dynamic_lib.hpp

24 lines
501 B
C++
Raw Normal View History

#pragma once
#include "query_engine/i_code_cpu.hpp"
#include "dc/dynamic_lib.hpp"
namespace
{
class MemgraphDynamicLib
{
public:
const static std::string produce_name;
const static std::string destruct_name;
using produce = produce_t;
using destruct = destruct_t;
using lib_object = ICodeCPU;
};
const std::string MemgraphDynamicLib::produce_name = "produce";
const std::string MemgraphDynamicLib::destruct_name = "destruct";
using CodeLib = DynamicLib<MemgraphDynamicLib>;
}