OLD | NEW |
(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 } |
OLD | NEW |