libvirt/examples/c/misc
Michal Privoznik 7db8373e08 Use G_N_ELEMENTS() more
In a few places we still use the good old:

  sizeof(var) / sizeof(var[0])
  sizeof(var) / sizeof(int)

The G_N_ELEMENTS() macro is preferred though. In a few places we
don't link with glib, so provide the macro definition.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
2023-03-13 13:29:07 +01:00
..
event-test.c Introduce VIR_DOMAIN_RUNNING_POSTCOPY_FAILED 2022-06-07 17:40:20 +02:00
hellolibvirt.c examples: hellolibvirt: fix argc check 2021-12-14 12:12:40 +01:00
meson.build meson: examples: build and install example files 2020-08-03 09:27:06 +02:00
openauth.c Use G_N_ELEMENTS() more 2023-03-13 13:29:07 +01:00