From: Julien Desfossez Date: Thu, 6 Sep 2012 21:42:26 +0000 (-0400) Subject: Fix: access field properties by declaration X-Git-Tag: v1.0.0-rc6~32 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=2bdfa4cfc433d2c6e07d6474078bb896d1f3697a;hp=2bdfa4cfc433d2c6e07d6474078bb896d1f3697a;ds=sidebyside 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 Signed-off-by: Mathieu Desnoyers ---