OLD | NEW |
| (Empty) |
1 /* | |
2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. | |
3 * Use of this source code is governed by a BSD-style license that can be | |
4 * found in the LICENSE file. | |
5 */ | |
6 | |
7 #include "native_client/src/trusted/validator/x86/error_reporter.h" | |
8 | |
9 #include "native_client/src/include/nacl_macros.h" | |
10 #include "native_client/src/shared/gio/gio.h" | |
11 #include "native_client/src/shared/platform/nacl_log.h" | |
12 | |
13 void NaClVerboseErrorPrintf(NaClErrorReporter* self, | |
14 const char* format, ...) { | |
15 va_list ap; | |
16 va_start(ap, format); | |
17 gvprintf(NaClLogGetGio(), format, ap); | |
18 va_end(ap); | |
19 } | |
20 | |
21 void NaClVerboseErrorPrintfV(NaClErrorReporter* self, | |
22 const char* format, | |
23 va_list ap) { | |
24 gvprintf(NaClLogGetGio(), format, ap); | |
25 } | |
OLD | NEW |