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

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

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
(Empty)
1 /* Copyright 2015 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
4
5 #include "ppapi_simple/ps.h"
6
7 #include "ppapi/c/pp_instance.h"
8 #include "ppapi/c/ppb.h"
9
10 /* Defined in ps_instance.c */
11 extern PP_Instance g_ps_instance;
12 extern PPB_GetInterface g_ps_get_interface;
13
14 PP_Instance PSGetInstanceId(void) {
15 return g_ps_instance;
16 }
17
18 const void* PSGetInterface(const char *name) {
19 return g_ps_get_interface(name);
20 }
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/ppapi_simple/ps.h ('k') | native_client_sdk/src/libraries/ppapi_simple/ps.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698