https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 8238bf796660b0f4b40af2adc3e3627659d3c725 authored by Karsten Rink on 22 March 2021, 09:57:22 UTC
Merge branch 'VerticalSliceSaveLines' into 'master'
Tip revision: 8238bf7
ogs_embedded_python.h
/**
 * \copyright
 * Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
 *            Distributed under a Modified BSD License.
 *              See accompanying file LICENSE.txt or
 *              http://www.opengeosys.org/project/license
 *
 */

#pragma once

#include <pybind11/embed.h>
#include "BaseLib/ExportSymbol.h"

namespace ApplicationsLib
{
/// Sets up an embedded Python interpreter and makes sure that the OpenGeoSys
/// Python module is not removed by the linker.
OGS_EXPORT_SYMBOL pybind11::scoped_interpreter setupEmbeddedPython();

}  // namespace ApplicationsLib
back to top