From: Xiaona Han Date: Fri, 26 Jul 2013 10:32:36 +0000 (+0800) Subject: Add a generic get_value() implementation X-Git-Tag: v1.2.0-rc1~65 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=3c2ce778cc0d5e5be91e2fd1d176365a2ad65aa3;hp=3c2ce778cc0d5e5be91e2fd1d176365a2ad65aa3 Add a generic get_value() implementation Use get_value to get a field's value. Currently it does not support compound types. Also it does not support floating point, since getting a float's value is not implemented in babeltrace now. Edit by Jérémie Galarneau: Arrays' value should not be returned using get_char_array(). Implemented get_array_element_at() which returns a Definition object corresponding to the array's element. Exposed the bt_array_index function in the Python bindings Signed-off-by: Xiaona Han Signed-off-by: Jérémie Galarneau ---