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

Side by Side Diff: ppapi/native_client/src/untrusted/irt_stub/ppapi_plugin_start.c

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years 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 (c) 2011 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2011 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 #include <stddef.h>
7 #include <stdlib.h> 8 #include <stdlib.h>
8 #include <string.h> 9 #include <string.h>
9 #include <unistd.h> 10 #include <unistd.h>
10 11
11 #include "native_client/src/include/elf32.h" 12 #include "native_client/src/include/elf32.h"
12 #include "native_client/src/include/elf_auxv.h" 13 #include "native_client/src/include/elf_auxv.h"
13 #include "native_client/src/untrusted/irt/irt.h" 14 #include "native_client/src/untrusted/irt/irt.h"
14 #include "ppapi/nacl_irt/public/irt_ppapi.h" 15 #include "ppapi/nacl_irt/public/irt_ppapi.h"
15 #include "ppapi/native_client/src/shared/ppapi_proxy/ppruntime.h" 16 #include "ppapi/native_client/src/shared/ppapi_proxy/ppruntime.h"
16 #include "ppapi/native_client/src/untrusted/irt_stub/thread_creator.h" 17 #include "ppapi/native_client/src/untrusted/irt_stub/thread_creator.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 63
63 struct nacl_irt_ppapihook hooks; 64 struct nacl_irt_ppapihook hooks;
64 if (sizeof(hooks) != query_func(NACL_IRT_PPAPIHOOK_v0_1, 65 if (sizeof(hooks) != query_func(NACL_IRT_PPAPIHOOK_v0_1,
65 &hooks, sizeof(hooks))) 66 &hooks, sizeof(hooks)))
66 fatal_error("PpapiPluginStart: PPAPI hooks not found\n"); 67 fatal_error("PpapiPluginStart: PPAPI hooks not found\n");
67 68
68 __nacl_register_thread_creator(&hooks); 69 __nacl_register_thread_creator(&hooks);
69 70
70 return hooks.ppapi_start(funcs); 71 return hooks.ppapi_start(funcs);
71 } 72 }
OLDNEW
« no previous file with comments | « ppapi/nacl_irt/public/irt_ppapi.h ('k') | ppapi/native_client/src/untrusted/pnacl_irt_shim/irt_shim_ppapi.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698