]> git.ipfire.org Git - thirdparty/libsolv.git/commit
INCOMPATIBLE bindings change: modernize Dataiterator/Datamatch classes
authorMichael Schroeder <mls@suse.de>
Thu, 3 Apr 2014 14:20:28 +0000 (16:20 +0200)
committerMichael Schroeder <mls@suse.de>
Thu, 3 Apr 2014 14:20:28 +0000 (16:20 +0200)
commitb8d3888fdcb2c625f9c025db9ca858ec8199d562
treefa8ff2966a3689ab0ba75b677aaa888b5286c521
parentb2ef9eb3b18a0b543f7011ed33165b7ff6e7f425
INCOMPATIBLE bindings change: modernize Dataiterator/Datamatch classes

Use attributes instead of methods to access the matched data (except
for Datapos constructors). Also, while we're breaking the API, drop
the solvid argument from the Dataiterator constructors. Add different
constructors for the special cases.

Also fix and document Datamatcher's 'binary' attribute.
bindings/solv.i
doc/libsolv-bindings.3
doc/libsolv-bindings.txt
examples/p5solv
examples/pysolv
examples/rbsolv