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

Side by Side Diff: swig/Lib/stdint.i

Issue 553095: Checkin swig binaries for win, linux and Mac... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: '' Created 10 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « swig/Lib/std_except.i ('k') | swig/Lib/stl.i » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /* -----------------------------------------------------------------------------
2 * See the LICENSE file for information on copyright, usage and redistribution
3 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
4 *
5 * stdint.i
6 *
7 * SWIG library file for ISO C99 types: 7.18 Integer types <stdint.h>
8 * ----------------------------------------------------------------------------- */
9
10 %{
11 #include <stdint.h> // Use the C99 official header
12 %}
13
14 %include <swigarch.i>
15
16 /* Exact integral types. */
17
18 /* Signed. */
19
20 typedef signed char int8_t;
21 typedef short int int16_t;
22 typedef int int32_t;
23 #if defined(SWIGWORDSIZE64)
24 typedef long int int64_t;
25 #else
26 typedef long long int int64_t;
27 #endif
28
29 /* Unsigned. */
30 typedef unsigned char uint8_t;
31 typedef unsigned short int uint16_t;
32 typedef unsigned int uint32_t;
33 #if defined(SWIGWORDSIZE64)
34 typedef unsigned long int uint64_t;
35 #else
36 typedef unsigned long long int uint64_t;
37 #endif
38
39
40 /* Small types. */
41
42 /* Signed. */
43 typedef signed char int_least8_t;
44 typedef short int int_least16_t;
45 typedef int int_least32_t;
46 #if defined(SWIGWORDSIZE64)
47 typedef long int int_least64_t;
48 #else
49 typedef long long int int_least64_t;
50 #endif
51
52 /* Unsigned. */
53 typedef unsigned char uint_least8_t;
54 typedef unsigned short int uint_least16_t;
55 typedef unsigned int uint_least32_t;
56 #if defined(SWIGWORDSIZE64)
57 typedef unsigned long int uint_least64_t;
58 #else
59 typedef unsigned long long int uint_least64_t;
60 #endif
61
62
63 /* Fast types. */
64
65 /* Signed. */
66 typedef signed char int_fast8_t;
67 #if defined(SWIGWORDSIZE64)
68 typedef long int int_fast16_t;
69 typedef long int int_fast32_t;
70 typedef long int int_fast64_t;
71 #else
72 typedef int int_fast16_t;
73 typedef int int_fast32_t;
74 typedef long long int int_fast64_t;
75 #endif
76
77 /* Unsigned. */
78 typedef unsigned char uint_fast8_t;
79 #if defined(SWIGWORDSIZE64)
80 typedef unsigned long int uint_fast16_t;
81 typedef unsigned long int uint_fast32_t;
82 typedef unsigned long int uint_fast64_t;
83 #else
84 typedef unsigned int uint_fast16_t;
85 typedef unsigned int uint_fast32_t;
86 typedef unsigned long long int uint_fast64_t;
87 #endif
88
89
90 /* Types for `void *' pointers. */
91 #if defined(SWIGWORDSIZE64)
92 typedef long int intptr_t;
93 typedef unsigned long int uintptr_t;
94 #else
95 typedef int intptr_t;
96 typedef unsigned int uintptr_t;
97 #endif
98
99
100 /* Largest integral types. */
101 #if defined(SWIGWORDSIZE64)
102 typedef long int intmax_t;
103 typedef unsigned long int uintmax_t;
104 #else
105 typedef long long int intmax_t;
106 typedef unsigned long long int uintmax_t;
107 #endif
108
109
OLDNEW
« no previous file with comments | « swig/Lib/std_except.i ('k') | swig/Lib/stl.i » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698