OGS
ogs_embedded_python.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2
// SPDX-License-Identifier: BSD-3-Clause
3
4
#pragma once
5
6
#include <algorithm>
7
#include <pybind11/embed.h>
8
9
#include "
BaseLib/ExportSymbol.h
"
10
11
namespace
ApplicationsLib
12
{
15
OGS_EXPORT_SYMBOL
pybind11::scoped_interpreter
setupEmbeddedPython
();
16
19
OGS_EXPORT_SYMBOL
void
setupEmbeddedPythonVenvPaths
();
20
21
}
// namespace ApplicationsLib
ExportSymbol.h
OGS_EXPORT_SYMBOL
#define OGS_EXPORT_SYMBOL
Definition
ExportSymbol.h:10
ApplicationsLib
Definition
LinearSolverLibrarySetup.h:25
ApplicationsLib::setupEmbeddedPythonVenvPaths
void setupEmbeddedPythonVenvPaths()
Definition
ogs_embedded_python.cpp:172
ApplicationsLib::setupEmbeddedPython
pybind11::scoped_interpreter setupEmbeddedPython()
Definition
ogs_embedded_python.cpp:32
Applications
CLI
ogs_embedded_python.h
Generated by
1.14.0