| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 #ifndef HELLO_NACL_IO_H_ | 6 #ifndef NACL_IO_DEMO_H_ |
| 7 #define HELLO_NACL_IO_H_ | 7 #define NACL_IO_DEMO_H_ |
| 8 | 8 |
| 9 #include <stdarg.h> | 9 #include <stdarg.h> |
| 10 #include "ppapi/c/pp_var.h" | 10 #include "ppapi/c/pp_var.h" |
| 11 | 11 |
| 12 struct PP_Var CStrToVar(const char* str); | 12 struct PP_Var CStrToVar(const char* str); |
| 13 char* VprintfToNewString(const char* format, va_list args); | 13 char* VprintfToNewString(const char* format, va_list args); |
| 14 char* PrintfToNewString(const char* format, ...); | 14 char* PrintfToNewString(const char* format, ...); |
| 15 struct PP_Var PrintfToVar(const char* format, ...); | 15 struct PP_Var PrintfToVar(const char* format, ...); |
| 16 uint32_t VarToCStr(struct PP_Var var, char* buffer, uint32_t length); | 16 uint32_t VarToCStr(struct PP_Var var, char* buffer, uint32_t length); |
| 17 | 17 |
| 18 #endif /* HELLO_NACL_IO_H_ */ | 18 #endif /* NACL_IO_DEMO_H_ */ |
| OLD | NEW |