1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-26 03:21:44 +03:00
libvirt/examples
Ján Tomko d99f17a502 examples: Use G_N_ELEMENTS instead of ARRAY_CARDINALITY
We try to keep the example programs independent of libraries
other than libvirt.

Rename the locally defined ARRAY_CARDINALITY macro to G_N_ELEMENTS
which GLib provides, even though we don't actually include GLib.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2019-10-15 16:14:19 +02:00
..
c examples: Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
polkit examples: Use one top level makefile 2016-01-09 21:14:12 -05:00
sh examples: Move and install shell examples 2019-06-03 17:27:35 +02:00
systemtap Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
xml nwfilter: move standard XML configs out of examples dir 2019-08-19 11:52:44 +01:00
Makefile.am nwfilter: move standard XML configs out of examples dir 2019-08-19 11:52:44 +01:00