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

Side by Side Diff: src/untrusted/irt/shim_dummy.c

Issue 10826171: Incorporate shimming into the irt (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
« src/untrusted/irt/nacl.scons ('K') | « src/untrusted/irt/nacl.scons ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 /* Copyright 2012 The Chromium Authors. All rights reserved.
Mark Seaborn 2012/08/28 15:51:20 If this is in the NaCl tree, this should say "The
Robert Muth (chromium) 2012/08/28 18:13:30 Done.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 */
5
6 /*
7 * This module satifies link dependencies in case we do not link
Mark Seaborn 2012/08/28 15:51:20 "satisfies" Saying "in case we do not link in shi
Robert Muth (chromium) 2012/08/28 18:13:30 Done.
8 * in shimming support into the irt.
9 * It also rough documents the API of the automatically generated
Mark Seaborn 2012/08/28 15:51:20 "roughly"
Robert Muth (chromium) 2012/08/28 18:13:30 Done.
10 * shimming code.
11 */
12
13 #include "ppapi/generators/pnacl_shim.h"
14
15 static PPB_GetInterface g_real_PPB_GetInterface = 0;
16 static PPP_GetInterface_Type g_real_PPP_GetInterface = 0;
17
18 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) {
19 g_real_PPB_GetInterface = real;
20 }
21
22 void __set_real_Pnacl_PPPGetInterface(PPP_GetInterface_Type real) {
23 g_real_PPP_GetInterface = real;
24 }
25
26 const void *__Pnacl_PPBGetInterface(const char *name) {
27 return g_real_PPB_GetInterface(name);
28 }
29
30 const void *__Pnacl_PPPGetInterface(const char *name) {
31 return g_real_PPP_GetInterface(name);
32 }
OLDNEW
« src/untrusted/irt/nacl.scons ('K') | « src/untrusted/irt/nacl.scons ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698