MCPcopy Create free account
hub / github.com/WheretIB/nullc / Format

Method Format

tests/TestBase.cpp:335–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335char* Tests::Format(const char *str, ...)
336{
337 static char text[4096*16];
338 static unsigned int section = 0;
339
340 char* ptr = text + (section++ % 16) * 4096;
341
342 va_list args;
343 va_start(args, str);
344 vsnprintf(ptr, 1023, str, args);
345 va_end(args);
346 return ptr;
347}
348
349void TEST_FOR_FAIL(const char* name, const char* str, const char* error)
350{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected