OLD | NEW |
| (Empty) |
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 | |
3 * found in the LICENSE file. */ | |
4 | |
5 #ifndef NACL_IO_DEMO_H_ | |
6 #define NACL_IO_DEMO_H_ | |
7 | |
8 #include <stdarg.h> | |
9 #include "ppapi/c/pp_instance.h" | |
10 #include "ppapi/c/pp_var.h" | |
11 #include "ppapi/c/ppb_var.h" | |
12 #include "ppapi/c/ppb_var_array.h" | |
13 #include "ppapi/c/ppb_var_dictionary.h" | |
14 #include "sdk_util/macros.h" // for PRINTF_LIKE | |
15 | |
16 struct PP_Var CStrToVar(const char* str); | |
17 char* VprintfToNewString(const char* format, va_list args) PRINTF_LIKE(1, 0); | |
18 char* PrintfToNewString(const char* format, ...) PRINTF_LIKE(1, 2); | |
19 struct PP_Var GetDictVar(struct PP_Var var, const char* key); | |
20 | |
21 extern PPB_Var* g_ppb_var; | |
22 extern PPB_VarArray* g_ppb_var_array; | |
23 extern PPB_VarDictionary* g_ppb_var_dictionary; | |
24 | |
25 #endif /* NACL_IO_DEMO_H_ */ | |
OLD | NEW |