Re: [libvirt] [libvirt-php PATCH 1/3] Define macros for looping php hash tables.

2016-07-07 Thread Michal Privoznik
On 06.07.2016 23:42, Dawid Zamirski wrote: > Since PHP5 and 7 differ slightly on how looping over php hash tables is > done, those macros were added to abstract away those differences and > avoid using ifdefs for each php version. > --- > src/libvirt-php.c | 31 +++ > s

[libvirt] [libvirt-php PATCH 1/3] Define macros for looping php hash tables.

2016-07-06 Thread Dawid Zamirski
Since PHP5 and 7 differ slightly on how looping over php hash tables is done, those macros were added to abstract away those differences and avoid using ifdefs for each php version. --- src/libvirt-php.c | 31 +++ src/libvirt-php.h | 6 ++ 2 files changed, 37 inser