mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Introduce OOM reporting to virAsprintf
Actually, I'm turning this function into a macro as filename, function name and line number needs to be passed. The new function virAsprintfInternal is introduced with the extended set of arguments.
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
#include "viralloc.h"
|
||||
#include "virstring.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NONE
|
||||
|
||||
#define TEST_ERROR(...) \
|
||||
do { \
|
||||
if (virTestGetDebug()) \
|
||||
|
||||
Reference in New Issue
Block a user