From: Ján Tomko Date: Wed, 16 Oct 2019 14:11:30 +0000 (+0200) Subject: docs: hacking: add a conversion table for removed libvirt macros X-Git-Tag: v5.9.0-rc1~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=813510f95c8c4790e33f3f6cd919187268660987;p=thirdparty%2Flibvirt.git docs: hacking: add a conversion table for removed libvirt macros Signed-off-by: Ján Tomko Reviewed-by: Michal Privoznik --- diff --git a/docs/hacking.html.in b/docs/hacking.html.in index 6bae7f5f64..981b782d31 100644 --- a/docs/hacking.html.in +++ b/docs/hacking.html.in @@ -1066,6 +1066,19 @@ BAD: should be used to manage autoclean of virObject classes. This matches usage with GObject classes. + + + + + + + + + + + +
deleted versionGLib versionNotes
VIR_AUTOPTRg_autoptr
VIR_AUTOCLEANg_auto
VIR_AUTOFREEg_autofreeThe GLib version does not use parentheses
VIR_AUTOUNREFg_autoptrThe cleanup function needs to be defined
VIR_DEFINE_AUTOPTR_FUNCG_DEFINE_AUTOPTR_CLEANUP_FUNC
VIR_DEFINE_AUTOCLEAN_FUNCG_DEFINE_AUTO_CLEANUP_CLEAR_FUNC
VIR_STEAL_PTRg_steal_pointera = f(&b) instead of f(a, b)
VIR_RETURN_PTRreturn g_steal_pointer
+

File handling