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. */
5 #ifndef NACL_IO_DEMO_H_
6 #define NACL_IO_DEMO_H_
9 #include "ppapi/c/pp_var.h"
11 struct PP_Var CStrToVar(const char* str);
12 char* VprintfToNewString(const char* format, va_list args);
13 char* PrintfToNewString(const char* format, ...);
14 struct PP_Var PrintfToVar(const char* format, ...);
15 uint32_t VarToCStr(struct PP_Var var, char* buffer, uint32_t length);
17 #endif /* NACL_IO_DEMO_H_ */