Fix: access field properties by declaration
authorJulien Desfossez <jdesfossez@efficios.com>
Thu, 6 Sep 2012 21:42:26 +0000 (17:42 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 6 Sep 2012 21:42:26 +0000 (17:42 -0400)
commit2bdfa4cfc433d2c6e07d6474078bb896d1f3697a
tree43158a446df785998e13e253c03ec3a3b8e10ab1
parent885885bfa41c56f7615d635d348ba7cec34b4684
Fix: access field properties by declaration

The functions that give access to the properties of the fields (int
signedness, base, char len, etc), were only working with definition
struct which prevented their use before actually reading the events.

This patch changes the prototypes of these functions to use
declarations instead of definitions and provides a converter
function to access the declaration from a definition.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/ctf/events.c
include/babeltrace/ctf/events.h
This page took 0.024287 seconds and 4 git commands to generate.