#include <Python.h>
Idź do kodu źródłowego tego pliku.
Struktury danych | |
struct | ekg_configObj |
Funkcje | |
void | ekg_config_dealloc (PyObject *o) |
int | ekg_config_len (ekg_configObj *self) |
PyObject * | ekg_config_get (ekg_configObj *self, PyObject *key) |
PyObject * | ekg_config_set (ekg_configObj *self, PyObject *key, PyObject *value) |
Zmienne | |
static PyMappingMethods | _config_mapping |
static PyTypeObject | ekg_config_type |
void ekg_config_dealloc | ( | PyObject * | o | ) |
deallocation of config object
PyObject* ekg_config_get | ( | ekg_configObj * | self, | |
PyObject * | key | |||
) |
return config option with given name
int ekg_config_len | ( | ekg_configObj * | self | ) |
return length of config object sequence
PyObject* ekg_config_set | ( | ekg_configObj * | self, | |
PyObject * | key, | |||
PyObject * | value | |||
) |
set configuration option
PyMappingMethods _config_mapping [static] |
{ (inquiry) ekg_config_len, (binaryfunc) ekg_config_get, (objobjargproc) ekg_config_set }
PyTypeObject ekg_config_type [static] |
{ PyObject_HEAD_INIT(NULL) 0, "config", sizeof(PyObject), 0, ekg_config_dealloc, 0, 0, 0, 0, 0, 0, 0, &_config_mapping }