Fix Python: Add a comment warning about an API limitation
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 18 Aug 2014 22:33:33 +0000 (18:33 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 18 Aug 2014 22:33:33 +0000 (18:33 -0400)
commit9213bd4fa8b0fbf7f60766e24e47701cc2020f83
treef300c6407a69fbdd37de303fad8c626eb8555b98
parent8099326b3438eb003bf3f9849ad1b3cd1f0d618c
Fix Python: Add a comment warning about an API limitation

Add a comment warning about a possible misuse of the events()
API. The objects returned by this function shall not be copied
as they become invalid as soon as the next event is accessed.

It is also invalid to access an event after its generator has
gone out of scope.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
bindings/python/babeltrace.i.in
This page took 0.024244 seconds and 4 git commands to generate.