From f526c4a5a3e4f35bb1c4b03af1f3244a8c0db48a Mon Sep 17 00:00:00 2001 From: Vasilii Chernov Date: Thu, 11 Feb 2016 12:00:54 +0100 Subject: Change error logging method in Python wrap. Move functions, that converts values between PyObject and pcilib_value_t to py.c --- pcilib/pcipywrap.h | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 pcilib/pcipywrap.h (limited to 'pcilib/pcipywrap.h') diff --git a/pcilib/pcipywrap.h b/pcilib/pcipywrap.h deleted file mode 100644 index c2bb749..0000000 --- a/pcilib/pcipywrap.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef _PCITOOL_PCIPYWRAP_H -#define _PCITOOL_PCIPYWRAP_H -#include -#include "pcilib.h" - -/*! - * \brief Converts pcilib_value_t to PyObject. - * \param ctx pointer to pcilib_t context - * \param val pointer to pcilib_value_t to convert - * \return PyObject, containing value. NULL with error message, sended to errstream. - */ -PyObject* pcilib_convert_val_to_pyobject(pcilib_t* ctx, pcilib_value_t *val, void (*errstream)(const char* msg, ...)); - - -/*! - * \brief Converts PyObject to pcilib_value_t. - * \param ctx pcilib context - * \param pyVal python object, containing value - * \param val initialized polymorphic value - * \return 0 on success or memory error - */ -int pcilib_convert_pyobject_to_val(pcilib_t* ctx, PyObject* pyVal, pcilib_value_t *val); - - -#endif /* _PCITOOL_PCIPYWRAP_H */ -- cgit v1.2.3