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:
Michal Privoznik
2013-06-07 17:10:28 +02:00
parent 8290cbbc38
commit dc6f2dadac
30 changed files with 158 additions and 53 deletions

View File

@@ -17,6 +17,8 @@
#include "testutilsqemu.h"
#include "virstring.h"
#define VIR_FROM_THIS VIR_FROM_NONE
static int
testCompareXMLToXMLFiles(const char *inxml, const char *outxml,
bool expect_error)