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

Side by Side Diff: third_party/npapi/bindings/npapi.h

Issue 2505001: Fix more type issues from the npapi.h tranisition to *_t types (Closed)
Patch Set: scaled back Created 10 years, 6 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 | « no previous file | third_party/npapi/bindings/npapi_extensions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* ***** BEGIN LICENSE BLOCK ***** 2 /* ***** BEGIN LICENSE BLOCK *****
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 * 4 *
5 * The contents of this file are subject to the Mozilla Public License Version 5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with 6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at 7 * the License. You may obtain a copy of the License at
8 * http://www.mozilla.org/MPL/ 8 * http://www.mozilla.org/MPL/
9 * 9 *
10 * Software distributed under the License is distributed on an "AS IS" basis, 10 * Software distributed under the License is distributed on an "AS IS" basis,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 /* BEGIN GOOGLE MODIFICATIONS */ 45 /* BEGIN GOOGLE MODIFICATIONS */
46 46
47 #ifndef __native_client__ 47 #ifndef __native_client__
48 #include "nptypes.h" 48 #include "nptypes.h"
49 #endif 49 #endif
50 50
51 #ifdef __native_client__ 51 #ifdef __native_client__
52 #include <stdint.h> 52 #include <stdint.h>
53 #include <sys/types.h> 53 #include <sys/types.h>
54 /* typedefs needed for NaCl DEPS update */
55 /* TODO: convert npapi_extensions.h to int32_t, etc */
56 /* and remove these typedefs */
57 #ifndef _INT32
58 #define _INT32
59 typedef int int32;
60 #endif
61 #ifndef _UINT32
62 #define _UINT32
63 typedef unsigned int uint32;
64 #endif
65 #ifndef _INT16
66 #define _INT16
67 typedef short int16;
68 #endif
69 #ifndef _UINT16
70 #define _UINT16
71 typedef unsigned short uint16;
72 #endif
73 #else 54 #else
74 #include "base/basictypes.h" 55 #include "base/basictypes.h"
75 #endif /* __native_client__ */ 56 #endif /* __native_client__ */
76 57
77 /* END GOOGLE MODIFICATIONS */ 58 /* END GOOGLE MODIFICATIONS */
78 59
79 #if defined(__OS2__) || defined(OS2) 60 #if defined(__OS2__) || defined(OS2)
80 #ifndef XP_OS2 61 #ifndef XP_OS2
81 #define XP_OS2 1 62 #define XP_OS2 1
82 #endif 63 #endif
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 #ifdef __cplusplus 876 #ifdef __cplusplus
896 } /* end extern "C" */ 877 } /* end extern "C" */
897 #endif 878 #endif
898 879
899 #endif /* RC_INVOKED */ 880 #endif /* RC_INVOKED */
900 #if defined(__OS2__) 881 #if defined(__OS2__)
901 #pragma pack() 882 #pragma pack()
902 #endif 883 #endif
903 884
904 #endif /* npapi_h_ */ 885 #endif /* npapi_h_ */
OLDNEW
« no previous file with comments | « no previous file | third_party/npapi/bindings/npapi_extensions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698