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

  int event;
  
  if (!PyArg_ParseTuple(args, "i", &event))
    {
      PyErr_SetString(AtrshmlogError, "get_event : fetch failed (event)");
      return NULL;
    }

  result = PyAtrshmlog_get_event(event);
 
  return PyLong_FromLong(result);
}
/**
 * \brief Get an event value.
 */
\brief Get an event value.
\ brief Get an event value .
static PyObject*
python_atrshmlog_get_event(PyObject *self, PyObject *args)
{
  PyAtrshmlog_get_event_RETURN result;
  int event;
  if (!PyArg_ParseTuple(args, "i", &event))
    {
      PyErr_SetString(AtrshmlogError, "get_event : fetch failed (event)");
      return NULL;
    }
  result = PyAtrshmlog_get_event(event);
  return PyLong_FromLong(result);
}
static PyObject * python_atrshmlog_get_event ( PyObject * self , PyObject * args ) { PyAtrshmlog_get_event_RETURN result ; int event ; if ( ! PyArg_ParseTuple ( args , " " , & event ) ) { PyErr_SetString ( AtrshmlogError , " " ) ; return NULL ; } result = PyAtrshmlog_get_event ( event ) ; return PyLong_FromLong ( result ) ; }
\brief Get an event value.
\ brief Get an event value .