Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(452)

Side by Side Diff: native_client_sdk/src/libraries/ppapi_simple/ps.h

Issue 914983003: [NaCl SDK] Switch ppapi_simple to C library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tty output bug Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright 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 #ifndef PPAPI_SIMPLE_PS_H_ 5 #ifndef PPAPI_SIMPLE_PS_H_
6 #define PPAPI_SIMPLE_PS_H_ 6 #define PPAPI_SIMPLE_PS_H_
7 7
8 #include "ppapi/c/pp_instance.h" 8 #include "ppapi/c/pp_instance.h"
9 #include "sdk_util/macros.h" 9 #include "sdk_util/macros.h"
10 10
11 EXTERN_C_BEGIN 11 EXTERN_C_BEGIN
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 PP_Instance PSGetInstanceId(void); 46 PP_Instance PSGetInstanceId(void);
47 47
48 /** 48 /**
49 * PSGetInterface 49 * PSGetInterface
50 * 50 *
51 * Return the Pepper instance referred to by 'name'. Will return a pointer 51 * Return the Pepper instance referred to by 'name'. Will return a pointer
52 * to the interface, or NULL if not found or not available. 52 * to the interface, or NULL if not found or not available.
53 */ 53 */
54 const void* PSGetInterface(const char *name); 54 const void* PSGetInterface(const char *name);
55 55
56 /**
57 * PSUserCreateInstance
58 *
59 * Prototype for the user provided function which creates and configures
60 * the instance object. This function is defined by one of the macros below,
61 * or by the equivalent macro in one of the other headers. For 'C'
62 * development, one of the basic instances which support C callback are used.
63 * For C++, this function should instantiate the user defined instance. See
64 * the two macros below.
65 */
66 extern void* PSUserCreateInstance(PP_Instance inst);
67
68 EXTERN_C_END 56 EXTERN_C_END
69 57
70 #endif /* PPAPI_SIMPLE_PS_H_ */ 58 #endif /* PPAPI_SIMPLE_PS_H_ */
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/ppapi_simple/library.dsc ('k') | native_client_sdk/src/libraries/ppapi_simple/ps.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698