python/src/atrshmlogpython.c
static PyObject*
python_atrshmlog_peek(PyObject *self, PyObject *args)
{
  PyAtrshmlog_peek_RETURN result;

  int index;
  
  u_t u;
  
  if (!PyArg_ParseTuple(args, "Ki", &u.p, &index))
    {
      PyErr_SetString(AtrshmlogError, "peek : fetch failed (area, index)");
      return NULL;
    }

  result = PyAtrshmlog_peek(u.a, index);

  return PyLong_FromLong(result);
}
/**
 * \brief We get a byte from the area
 */
\brief We get a byte from the area
\ brief We get a byte from the area
static PyObject*
python_atrshmlog_peek(PyObject *self, PyObject *args)
{
  PyAtrshmlog_peek_RETURN result;
  int index;
  u_t u;
  if (!PyArg_ParseTuple(args, "Ki", &u.p, &index))
    {
      PyErr_SetString(AtrshmlogError, "peek : fetch failed (area, index)");
      return NULL;
    }
  result = PyAtrshmlog_peek(u.a, index);
  return PyLong_FromLong(result);
}
static PyObject * python_atrshmlog_peek ( PyObject * self , PyObject * args ) { PyAtrshmlog_peek_RETURN result ; int index ; u_t u ; if ( ! PyArg_ParseTuple ( args , " " , & u . p , & index ) ) { PyErr_SetString ( AtrshmlogError , " " ) ; return NULL ; } result = PyAtrshmlog_peek ( u . a , index ) ; return PyLong_FromLong ( result ) ; }
\brief We get a byte from the area
\ brief We get a byte from the area