Add pixmaps shortcut
[lttv.git] / ltt / marker-desc.h
1 #ifndef _LTT_MARKER_DESC_H
2 #define _LTT_MARKER_DESC_H
3
4 /*
5 * Marker description support header.
6 *
7 * Mathieu Desnoyers, August 2007
8 * License: LGPL.
9 */
10
11 #include <stdio.h>
12 #include <glib.h>
13 #include <ltt/marker-field.h>
14
15 //FIXME TEMP!
16 static inline GQuark ltt_enum_string_get(struct marker_field *f,
17 gulong value)
18 {
19 char tmp[1024] = "ENUM-";
20 sprintf(&tmp[sizeof("ENUM-") - 1], "%lu", value);
21 return g_quark_from_string(tmp);
22 }
23
24 #endif //_LTT_MARKER_DESC_H
This page took 0.029868 seconds and 4 git commands to generate.