LibreOffice Module pyuno (master) 1
|
#include <Python.h>
#include <com/sun/star/uno/Any.hxx>
Go to the source code of this file.
Classes | |
class | pyuno::PyRef |
Helper class for keeping references to python objects. More... | |
struct | pyuno::PyRef::Hash |
class | pyuno::Runtime |
The pyuno::Runtime class keeps the internal state of the python UNO bridge for the currently in use python interpreter. More... | |
class | pyuno::PyThreadAttach |
helper class for attaching the current thread to the python runtime. More... | |
class | pyuno::PyThreadDetach |
helper class for detaching the current thread from the python runtime to do some blocking, non-python related operation. More... | |
Namespaces | |
namespace | com |
namespace | com::sun |
namespace | com::sun::star |
namespace | com::sun::star::uno |
namespace | pyuno |
Macros | |
#define | LO_DLLPUBLIC_PYUNO SAL_DLLPUBLIC_IMPORT |
External interface of the Python UNO bridge. More... | |
Typedefs | |
typedef struct stRuntimeImpl | pyuno::RuntimeImpl |
Enumerations | |
enum | pyuno::NotNull { pyuno::NOT_NULL } |
enum | pyuno::ConversionMode { pyuno::ACCEPT_UNO_ANY , pyuno::REJECT_UNO_ANY } |
Functions | |
LO_DLLPUBLIC_PYUNO PyObject * | PyInit_pyuno () |
function called by the python runtime to initialize the pyuno module. More... | |
#define LO_DLLPUBLIC_PYUNO SAL_DLLPUBLIC_IMPORT |
External interface of the Python UNO bridge.
This is a C++ interface, because the core UNO components invocation and proxyfactory are used to implement the bridge.
This interface is somewhat private and my change in future.
A scripting framework implementation may use this interface to do the necessary conversions.
LO_DLLPUBLIC_PYUNO PyObject * PyInit_pyuno | ( | ) |
function called by the python runtime to initialize the pyuno module.
preconditions: python has been initialized before and the global interpreter lock is held
Definition at line 79 of file pyuno_dlopenwrapper.c.
References load(), PyInit_pyuno(), pyuno::PyUNO_initType(), and pyuno::PyUNOStruct_initType().
Referenced by PyInit_pyuno().