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

Side by Side Diff: ppapi/shared_impl/ppb_memory_shared.cc

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
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 7
7 #include "ppapi/c/dev/ppb_memory_dev.h" 8 #include "ppapi/c/dev/ppb_memory_dev.h"
8 #include "ppapi/shared_impl/ppapi_shared_export.h" 9 #include "ppapi/shared_impl/ppapi_shared_export.h"
9 10
10 // The memory interface doesn't have a normal C -> C++ thunk since it doesn't 11 // The memory interface doesn't have a normal C -> C++ thunk since it doesn't
11 // actually have any proxy wrapping or associated objects; it's just a call 12 // actually have any proxy wrapping or associated objects; it's just a call
12 // into base. So we implement the entire interface here, using the thunk 13 // into base. So we implement the entire interface here, using the thunk
13 // namespace so it magically gets hooked up in the proper places. 14 // namespace so it magically gets hooked up in the proper places.
14 15
(...skipping 12 matching lines...) Expand all
27 namespace thunk { 28 namespace thunk {
28 29
29 // static 30 // static
30 PPAPI_SHARED_EXPORT const PPB_Memory_Dev_0_1* GetPPB_Memory_Dev_0_1_Thunk() { 31 PPAPI_SHARED_EXPORT const PPB_Memory_Dev_0_1* GetPPB_Memory_Dev_0_1_Thunk() {
31 return &ppb_memory; 32 return &ppb_memory;
32 } 33 }
33 34
34 } // namespace thunk 35 } // namespace thunk
35 36
36 } // namespace ppapi 37 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/shared_impl/ppb_input_event_shared.cc ('k') | ppapi/shared_impl/ppb_message_loop_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698