h2-mod/deps/extra/gsc-tool/interface.cpp
Federico Cecchetto 9320f7e7b8 GSC support
2022-08-24 19:07:14 +02:00

21 lines
377 B
C++

#include "stdafx.hpp"
#include <xsk/h2.hpp>
#include "interface.hpp"
namespace gsc
{
std::unique_ptr<xsk::gsc::compiler> compiler()
{
auto compiler = std::make_unique<xsk::gsc::h2::compiler>();
compiler->mode(xsk::gsc::build::prod);
return compiler;
}
std::unique_ptr<xsk::gsc::assembler> assembler()
{
return std::make_unique<xsk::gsc::h2::assembler>();
}
}