| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#ifndef __LIBGPIOD_PYTHON_MODULE_H__ |
| 5 |
#define __LIBGPIOD_PYTHON_MODULE_H__ |
| 6 |
|
| 7 |
#include <gpiod.h> |
| 8 |
#include <Python.h> |
| 9 |
|
| 10 |
PyObject *Py_gpiod_SetErrFromErrno(void); |
| 11 |
PyObject *Py_gpiod_GetModuleAttrString(const char *modname, |
| 12 |
const char *attrname); |
| 13 |
unsigned int Py_gpiod_PyLongAsUnsignedInt(PyObject *pylong); |
| 14 |
void Py_gpiod_dealloc(PyObject *self); |
| 15 |
PyObject *Py_gpiod_MakeRequestObject(struct gpiod_line_request *request, |
| 16 |
size_t event_buffer_size); |
| 17 |
struct gpiod_line_config *Py_gpiod_LineConfigGetData(PyObject *obj); |
| 18 |
struct gpiod_line_settings *Py_gpiod_LineSettingsGetData(PyObject *obj); |
| 19 |
|
| 20 |
#endif |