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

  int val;

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

  result = PyAtrshmlog_poke(u.a, index, val);
  
  return PyLong_FromLong(result);
}
/**
 * \brief We set a new byte in the area
 */
\brief We set a new byte in the area
\ brief We set a new byte in the area
static PyObject*
python_atrshmlog_poke(PyObject *self, PyObject *args)
{
  PyAtrshmlog_poke_RETURN result;
  int val;
  int index;
  u_t u;
  if (!PyArg_ParseTuple(args, "Kii", &u.p, &index, &val))
    {
      PyErr_SetString(AtrshmlogError, "poke : fetch failed (area, index, value)");
      return NULL;
    }
  result = PyAtrshmlog_poke(u.a, index, val);
  return PyLong_FromLong(result);
}
static PyObject * python_atrshmlog_poke ( PyObject * self , PyObject * args ) { PyAtrshmlog_poke_RETURN result ; int val ; int index ; u_t u ; if ( ! PyArg_ParseTuple ( args , " " , & u . p , & index , & val ) ) { PyErr_SetString ( AtrshmlogError , " " ) ; return NULL ; } result = PyAtrshmlog_poke ( u . a , index , val ) ; return PyLong_FromLong ( result ) ; }
\brief We set a new byte in the area
\ brief We set a new byte in the area