Revision dac170178e553309c5da580b68f8c9eaa7269905 authored by renchao_lu on 05 October 2021, 15:21:32 UTC, committed by renchao_lu on 05 October 2021, 15:21:32 UTC
1 parent cc0251f
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
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...