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

Side by Side Diff: ppapi/examples/2d/graphics_2d_example.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 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
« no previous file with comments | « ppapi/cpp/websocket.h ('k') | ppapi/examples/2d/paint_manager_example.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 #include <stdint.h>
5 #include <stdlib.h> 6 #include <stdlib.h>
6 #include <string.h> 7 #include <string.h>
7 8
8 #include "ppapi/c/pp_completion_callback.h" 9 #include "ppapi/c/pp_completion_callback.h"
9 #include "ppapi/c/pp_errors.h" 10 #include "ppapi/c/pp_errors.h"
10 #include "ppapi/c/pp_instance.h" 11 #include "ppapi/c/pp_instance.h"
11 #include "ppapi/c/pp_module.h" 12 #include "ppapi/c/pp_module.h"
12 #include "ppapi/c/pp_rect.h" 13 #include "ppapi/c/pp_rect.h"
13 #include "ppapi/c/pp_var.h" 14 #include "ppapi/c/pp_var.h"
14 #include "ppapi/c/ppb.h" 15 #include "ppapi/c/ppb.h"
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 } 206 }
206 207
207 PP_EXPORT void PPP_ShutdownModule() { 208 PP_EXPORT void PPP_ShutdownModule() {
208 } 209 }
209 210
210 PP_EXPORT const void* PPP_GetInterface(const char* interface_name) { 211 PP_EXPORT const void* PPP_GetInterface(const char* interface_name) {
211 if (strcmp(interface_name, PPP_INSTANCE_INTERFACE) == 0) 212 if (strcmp(interface_name, PPP_INSTANCE_INTERFACE) == 0)
212 return &instance_interface; 213 return &instance_interface;
213 return NULL; 214 return NULL;
214 } 215 }
OLDNEW
« no previous file with comments | « ppapi/cpp/websocket.h ('k') | ppapi/examples/2d/paint_manager_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698