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

Side by Side Diff: ppapi/nacl_irt/public/irt_ppapi.h

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 12 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 /* 1 /*
2 * Copyright 2014 The Chromium Authors. All rights reserved. 2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #ifndef PPAPI_NACL_IRT_PUBLIC_IRT_PPAPI_H_ 7 #ifndef PPAPI_NACL_IRT_PUBLIC_IRT_PPAPI_H_
8 #define PPAPI_NACL_IRT_PUBLIC_IRT_PPAPI_H_ 8 #define PPAPI_NACL_IRT_PUBLIC_IRT_PPAPI_H_
9 9
10 #include <stddef.h> 10 #include <stddef.h>
11 #include <stdint.h>
11 12
12 #include "ppapi/c/ppp.h" 13 #include "ppapi/c/ppp.h"
13 14
14 struct PP_StartFunctions { 15 struct PP_StartFunctions {
15 int32_t (*PPP_InitializeModule)(PP_Module module_id, 16 int32_t (*PPP_InitializeModule)(PP_Module module_id,
16 PPB_GetInterface get_browser_interface); 17 PPB_GetInterface get_browser_interface);
17 void (*PPP_ShutdownModule)(void); 18 void (*PPP_ShutdownModule)(void);
18 const void* (*PPP_GetInterface)(const char* interface_name); 19 const void* (*PPP_GetInterface)(const char* interface_name);
19 }; 20 };
20 21
(...skipping 12 matching lines...) Expand all
33 int (*thread_join)(uintptr_t tid); 34 int (*thread_join)(uintptr_t tid);
34 }; 35 };
35 36
36 #define NACL_IRT_PPAPIHOOK_v0_1 "nacl-irt-ppapihook-0.1" 37 #define NACL_IRT_PPAPIHOOK_v0_1 "nacl-irt-ppapihook-0.1"
37 struct nacl_irt_ppapihook { 38 struct nacl_irt_ppapihook {
38 int (*ppapi_start)(const struct PP_StartFunctions*); 39 int (*ppapi_start)(const struct PP_StartFunctions*);
39 void (*ppapi_register_thread_creator)(const struct PP_ThreadFunctions*); 40 void (*ppapi_register_thread_creator)(const struct PP_ThreadFunctions*);
40 }; 41 };
41 42
42 #endif // PPAPI_NACL_IRT_PUBLIC_IRT_PPAPI_H_ 43 #endif // PPAPI_NACL_IRT_PUBLIC_IRT_PPAPI_H_
OLDNEW
« no previous file with comments | « ppapi/nacl_irt/ppapi_dispatcher.cc ('k') | ppapi/native_client/src/untrusted/irt_stub/ppapi_plugin_start.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698