Author: kkaempf Date: Tue Jan 8 17:28:38 2008 New Revision: 8226 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8226&view=rev Log: architecture is obligatory for the pool, so make it an (optional) argument to the Pool constructor. Modified: trunk/sat-solver/bindings/satsolver.i Modified: trunk/sat-solver/bindings/satsolver.i URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/satsolver.i?rev=8226&r1=8225&r2=8226&view=diff ============================================================================== --- trunk/sat-solver/bindings/satsolver.i (original) +++ trunk/sat-solver/bindings/satsolver.i Tue Jan 8 17:28:38 2008 @@ -384,8 +384,12 @@ /* * Pool management */ - Pool() - { return pool_create(); } + Pool( const char *arch = NULL ) + { + Pool *pool = pool_create(); + if (arch) pool_setarch( pool, arch ); + return pool; + } ~Pool() { pool_free($self); } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org