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

  u_t u;
  
  if (!PyArg_ParseTuple(args, "K", &u.p))
    {
      PyErr_SetString(AtrshmlogError, "get_thread_local_tid : fetch failed (threadlocal)");
      return NULL;
    }

  result = PyAtrshmlog_get_thread_local_tid(u.a);
 
  return PyLong_FromUnsignedLongLong(result);
}
/**
 *  \brief We get the tid of a thread local
 */
\brief We get the tid of a thread local
\ brief We get the tid of a thread local
static PyObject*
python_atrshmlog_get_thread_local_tid(PyObject *self, PyObject *args)
{
  PyAtrshmlog_get_thread_local_tid_RETURN result;
  u_t u;
  if (!PyArg_ParseTuple(args, "K", &u.p))
    {
      PyErr_SetString(AtrshmlogError, "get_thread_local_tid : fetch failed (threadlocal)");
      return NULL;
    }
  result = PyAtrshmlog_get_thread_local_tid(u.a);
  return PyLong_FromUnsignedLongLong(result);
}
static PyObject * python_atrshmlog_get_thread_local_tid ( PyObject * self , PyObject * args ) { PyAtrshmlog_get_thread_local_tid_RETURN result ; u_t u ; if ( ! PyArg_ParseTuple ( args , " " , & u . p ) ) { PyErr_SetString ( AtrshmlogError , " " ) ; return NULL ; } result = PyAtrshmlog_get_thread_local_tid ( u . a ) ; return PyLong_FromUnsignedLongLong ( result ) ; }
\brief We get the tid of a thread local
\ brief We get the tid of a thread local