| 124 | } |
| 125 | |
| 126 | void SchemaValidityError |
| 127 | (void * /*ctx*/, const char* message, ...) |
| 128 | { |
| 129 | const int ERROR_MESSAGE_SIZE = 256; |
| 130 | char error[ERROR_MESSAGE_SIZE]; |
| 131 | va_list arg_ptr; |
| 132 | |
| 133 | va_start(arg_ptr, message); |
| 134 | vsnprintf(error, ERROR_MESSAGE_SIZE, message, arg_ptr); |
| 135 | va_end(arg_ptr); |
| 136 | |
| 137 | std::cerr << "Schema validity error: '" << error << "' " << std::endl; |
| 138 | } |
| 139 | |
| 140 | void SchemaValidityDebug |
| 141 | (void * /*ctx*/, const char* message, ...) |
nothing calls this directly
no outgoing calls
no test coverage detected