From 813510f95c8c4790e33f3f6cd919187268660987 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A1n=20Tomko?= Date: Wed, 16 Oct 2019 16:11:30 +0200 Subject: [PATCH] docs: hacking: add a conversion table for removed libvirt macros MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Ján Tomko Reviewed-by: Michal Privoznik --- docs/hacking.html.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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

-- 2.39.5