ZOO-Project
|
service_internal_python.h File Reference
Go to the source code of this file.
Functions | |
PyDictObject * | PyDict_FromMaps (maps *t) |
Convert a maps to a Python dictionary. More... | |
PyDictObject * | PyDict_FromMap (map *t) |
Convert a map to a Python dictionary. More... | |
maps * | mapsFromPyDict (PyDictObject *t) |
Convert a Python dictionary to a maps. More... | |
map * | mapFromPyDict (PyDictObject *t) |
Convert a Python dictionary to a map. More... | |
int | zoo_python_support (maps **, map *, service *, maps **, maps **) |
Load a Python module then run the function corresponding to the service by passing the conf, inputs and outputs parameters by reference. More... | |
void | PythonZooReport (maps *, const char *, int) |
Report Python error which may occur on loading the Python module or at runtime. More... | |
PyObject * | PythonTranslate (PyObject *, PyObject *) |
Use the ZOO-Services messages translation function from the Python environment. More... | |
PyObject * | PythonUpdateStatus (PyObject *, PyObject *) |
Update the ongoing status of a running service from the Python environment. More... | |
Function Documentation
map* mapFromPyDict | ( | PyDictObject * | t | ) |
Convert a Python dictionary to a map.
- Parameters
-
t the PyDictObject to convert
- Returns
- a new map containing the converted PyDictObject
- Warning
- make sure to free resources returned by this function
maps* mapsFromPyDict | ( | PyDictObject * | t | ) |
Convert a Python dictionary to a maps.
- Parameters
-
t the PyDictObject to convert
- Returns
- a new maps containing the converted PyDictObject
- Warning
- make sure to free resources returned by this function
PyDictObject* PyDict_FromMap | ( | map * | t | ) |
Convert a map to a Python dictionary