2016-02-07 03:48:40 +08:00
|
|
|
#pragma once
|
|
|
|
|
2016-08-10 16:39:02 +08:00
|
|
|
#include "query_engine/i_code_cpu.hpp"
|
2016-02-07 03:48:40 +08:00
|
|
|
#include "dc/dynamic_lib.hpp"
|
|
|
|
|
2016-08-10 16:39:02 +08:00
|
|
|
namespace
|
|
|
|
{
|
|
|
|
|
2016-02-07 03:48:40 +08:00
|
|
|
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>;
|
2016-08-10 16:39:02 +08:00
|
|
|
|
|
|
|
}
|