LibreOffice Module pyuno (master) 1
Macros | Functions
pyuno_dlopenwrapper.c File Reference
#include <Python.h>
#include <sal/config.h>
#include <stdlib.h>
#include <string.h>
#include <dlfcn.h>
#include <rtl/string.h>
Include dependency graph for pyuno_dlopenwrapper.c:

Go to the source code of this file.

Macros

#define __USE_GNU
 

Functions

static void * load (void const *address, char const *symbol)
 
SAL_DLLPUBLIC_EXPORT PyObject * PyInit_pyuno (void)
 function called by the python runtime to initialize the pyuno module. More...
 

Macro Definition Documentation

◆ __USE_GNU

#define __USE_GNU

Definition at line 30 of file pyuno_dlopenwrapper.c.

Function Documentation

◆ load()

static void * load ( void const *  address,
char const *  symbol 
)
static

Definition at line 41 of file pyuno_dlopenwrapper.c.

References h, NULL, SAL_DLLEXTENSION, and SAL_DLLPREFIX.

Referenced by PyInit_pyuno().

◆ PyInit_pyuno()

SAL_DLLPUBLIC_EXPORT 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(), and PyInit_pyuno().

Referenced by PyInit_pyuno().