LibreOffice Module pyuno (master) 1
Functions
pyuno_loader Namespace Reference

Functions

static void raiseRuntimeExceptionWhenNeeded ()
 
static PyRef getLoaderModule ()
 
static PyRef getObjectFromLoaderModule (const char *func)
 
static void setPythonHome (const OUString &pythonHome)
 
static void prependPythonPath (std::u16string_view pythonPathBootstrap)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * pyuno_Loader_get_implementation (css::uno::XComponentContext *ctx, css::uno::Sequence< css::uno::Any > const &)
 

Function Documentation

◆ getLoaderModule()

static PyRef pyuno_loader::getLoaderModule ( )
static
Exceptions
RuntimeException

Definition at line 83 of file pyuno_loader.cxx.

References module, and raiseRuntimeExceptionWhenNeeded().

Referenced by getObjectFromLoaderModule().

◆ getObjectFromLoaderModule()

static PyRef pyuno_loader::getObjectFromLoaderModule ( const char *  func)
static
Exceptions
RuntimeException

Definition at line 97 of file pyuno_loader.cxx.

References get(), and getLoaderModule().

Referenced by pyuno_Loader_get_implementation().

◆ prependPythonPath()

static void pyuno_loader::prependPythonPath ( std::u16string_view  pythonPathBootstrap)
static

Definition at line 137 of file pyuno_loader.cxx.

References nIndex, pData, and SAL_PATHSEPARATOR.

◆ pyuno_Loader_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * pyuno_loader::pyuno_Loader_get_implementation ( css::uno::XComponentContext *  ctx,
css::uno::Sequence< css::uno::Any > const &   
)

◆ raiseRuntimeExceptionWhenNeeded()

static void pyuno_loader::raiseRuntimeExceptionWhenNeeded ( )
static
Exceptions
RuntimeException

Definition at line 67 of file pyuno_loader.cxx.

References a, and pyuno::Runtime::extractUnoException().

Referenced by getLoaderModule().

◆ setPythonHome()

static void pyuno_loader::setPythonHome ( const OUString &  pythonHome)
static