27 Jul
2007
27 Jul
'07
2:36 p.m.
On Fri, Jul 27, 2007 at 03:27:03PM +0100, Andrew Fyfe wrote:
Throughout the libalpm and pacman code there's a lot of public functions that simply wrap a private function (maybe with some asserts). What's the point? Why not have the asserts in the private function and make the private function public reducing the number of function being called?
Maybe that's because all public functions were in alpm.c before, and then Dan moved them where they belong : http://projects.archlinux.org/git/?p=pacman.git;a=commit;h=64d36db5f45db1599... So I would also think these wrappers make little sense now, but not totally sure :)