On Fri, Jun 23, 2017 at 4:58 AM, Michal Privoznik <mprivozn(a)redhat.com> wrote:
But this got me thinking, should we follow libvirt's example and finally
split src/libvirt-php.c into smaller files that would handle just one
object? For example:
libvirt-domain.c
libvirt-nwfilter.c
libvirt-storage.c
libvirt-network.c
and so on.
If this isn't too difficult to do, I think it'd be a good idea. The
massive src/libvirt-php.c is difficult to parse and diff between
releases. Breaking it up into separate logical files would make diffs
cleaner, and also probably make it easier to centralize the
abstractions between different PHP versions as support for them is
added.
--
真実はいつも一つ!/ Always, there's only one truth!