chiark / gitweb /
systemd-python: implement _Reader.test_cursor
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 20 Mar 2013 23:00:37 +0000 (19:00 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 22 Mar 2013 02:39:24 +0000 (22:39 -0400)
commit1cdcd71be06a7f51012766d6b2f9e828b715f5e7
treed971a997658137c800706de616e46a241eb81756
parent806bc1cb610b1795d62f59878703361c8b576b12
systemd-python: implement _Reader.test_cursor

Getting the cursor is split out from .get_next() into
.get_cursor(). This mirrors the C API more closely, and
also makes things a bit faster if the cursor is not needed.
TODO
src/python-systemd/_reader.c