OLD | NEW |
| (Empty) |
1 // Copyright 2010 The Native Client Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can | |
3 // be found in the LICENSE file. | |
4 | |
5 #include <stdarg.h> | |
6 #include <stdlib.h> | |
7 #include <stdio.h> | |
8 | |
9 namespace fake_browser_ppapi { | |
10 | |
11 void DebugPrintf(const char* format, ...) { | |
12 va_list argptr; | |
13 va_start(argptr, format); | |
14 fprintf(stdout, "fake_browser: "); | |
15 vfprintf(stdout, format, argptr); | |
16 va_end(argptr); | |
17 fflush(stdout); | |
18 } | |
19 | |
20 } // namespace fake_browser_ppapi | |
OLD | NEW |