MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::EmbeddedPython Class Reference

#include <MREmbeddedPython.h>

Classes

struct  Config
 

Static Public Member Functions

static MREMBEDDEDPYTHON_API bool isAvailable ()
 Set this once before running anything.
 
static MREMBEDDEDPYTHON_API void shutdown ()
 
static bool nowRunning ()
 
static MREMBEDDEDPYTHON_API bool runString (std::string pythonString, std::function< void(bool success)> onDoneAsync=nullptr)
 
static MREMBEDDEDPYTHON_API bool runScript (const std::filesystem::path &path)
 
static MREMBEDDEDPYTHON_API bool isPythonScript (const std::filesystem::path &path)
 

Static Public Attributes

static MREMBEDDEDPYTHON_API Config pythonConfig
 

The documentation for this class was generated from the following file: