- add sources.
[platform/framework/web/crosswalk.git] / src / native_client_sdk / src / examples / demo / nacl_io / nacl_io_demo.h
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_var.h"
10
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);
16
17 #endif /* NACL_IO_DEMO_H_ */