From 68f6d57ac64e36cd8555daae54d5f0f03aa563de Mon Sep 17 00:00:00 2001 From: compudj Date: Mon, 22 Nov 2004 19:34:43 +0000 Subject: [PATCH] add get index for tracecontext git-svn-id: http://ltt.polymtl.ca/svn@840 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/lttv/contextmacros.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ltt/branches/poly/lttv/lttv/contextmacros.h b/ltt/branches/poly/lttv/lttv/contextmacros.h index 84a8e7d0..c099ec4d 100644 --- a/ltt/branches/poly/lttv/lttv/contextmacros.h +++ b/ltt/branches/poly/lttv/lttv/contextmacros.h @@ -64,6 +64,15 @@ #define LTTV_TRACE_CONTEXT_GET_TRACESET_CONTEXT(tc)\ (tc->ts_context) +/* LTTV_TRACE_CONTEXT_GET_TRACE_INDEX + * + * Input : LttvTraceContext *tc + * returns : (guint) trace context index in its traceset context. + */ +#define LTTV_TRACE_CONTEXT_GET_TRACE_INDEX(tc)\ + (tc->index) + + /* LTTV_TRACE_CONTEXT_GET_TRACE_STATE * -- 2.34.1