mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 05:17:59 +03:00
docs: hacking: move virStrerror to removed functions
Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
3757302243
commit
e81fce5fd0
@ -1070,8 +1070,6 @@ BAD:
|
||||
<tr><td><code>virAsprintf</code></td><td><code>g_strdup_printf</code></td><td></td></tr>
|
||||
<tr><td><code>virVasprintf</code></td><td><code>g_strdup_vprint</code></td>
|
||||
<td>use <code>g_vasprintf</code> if you really need to know the returned length</td></tr>
|
||||
<tr><td><code>virStrerror</code></td><td><code>g_strerror</code></td>
|
||||
<td>the error strings are cached globally so no need to free it</td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
|
||||
@ -1127,6 +1125,7 @@ BAD:
|
||||
<tr><td><code>ATTRIBUTE_UNUSED</code></td><td><code>G_GNUC_UNUSED</code></td><td></td></tr>
|
||||
<tr><td><code>VIR_STRDUP</code></td><td><code>g_strdup</code></td><td></td></tr>
|
||||
<tr><td><code>VIR_STRNDUP</code></td><td><code>g_strndup</code></td><td></td></tr>
|
||||
<tr><td><code>virStrerror</code></td><td><code>g_strerror</code></td><td></td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user