#include "../include/mglpp/mglpp.hpp" extern "C" { #include } namespace mgl { Init::Init() { if(mgl_init() != 0) throw InitException(); } Init::~Init() { mgl_deinit(); } }