forked from jl777/SuperNET_API
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnacl_io_demo.h
More file actions
executable file
·25 lines (20 loc) · 900 Bytes
/
nacl_io_demo.h
File metadata and controls
executable file
·25 lines (20 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
#ifndef NACL_IO_DEMO_H_
#define NACL_IO_DEMO_H_
#include <stdarg.h>
#include "include/ppapi/c/pp_instance.h"
#include "include/ppapi/c/pp_var.h"
#include "include/ppapi/c/ppb_var.h"
#include "include/ppapi/c/ppb_var_array.h"
#include "include/ppapi/c/ppb_var_dictionary.h"
#include "include/sdk_util/macros.h" // for PRINTF_LIKE
struct PP_Var CStrToVar(const char* str);
char* VprintfToNewString(const char* format, va_list args) PRINTF_LIKE(1, 0);
char* PrintfToNewString(const char* format, ...) PRINTF_LIKE(1, 2);
struct PP_Var GetDictVar(struct PP_Var var, const char* key);
extern PPB_Var* g_ppb_var;
extern PPB_VarArray* g_ppb_var_array;
extern PPB_VarDictionary* g_ppb_var_dictionary;
#endif /* NACL_IO_DEMO_H_ */