Add a generic get_value() implementation
authorXiaona Han <xiaonahappy13@163.com>
Fri, 26 Jul 2013 10:32:36 +0000 (18:32 +0800)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 12 Nov 2013 16:25:03 +0000 (11:25 -0500)
commit3c2ce778cc0d5e5be91e2fd1d176365a2ad65aa3
treeebc59ccee1936fd4b59af3d6d75497b3a3c371ab
parent4191bcd2fbb6a1be731af94bb83a828a1471ef67
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 <xiaonahappy13@163.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
bindings/python/babeltrace.i.in
bindings/python/examples/example-api-test.py
bindings/python/examples/sched_switch.py
bindings/python/python-complements.c
bindings/python/python-complements.h
This page took 0.033346 seconds and 4 git commands to generate.