annotate lib/swig/swigwin-2.0.11/Lib/stdint.i @ 2562:b8a56afc6ba1

new var no_actors, lights_flag, debug_lights, StationaryLights and MobileLights
author Ritor1
date Sun, 17 May 2015 22:42:13 +0600
parents b3009adc0e2f
children
rev   line source
1899
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1 /* -----------------------------------------------------------------------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2 * stdint.i
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3 *
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4 * SWIG library file for ISO C99 types: 7.18 Integer types <stdint.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5 * ----------------------------------------------------------------------------- */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
7 %{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
8 #include <stdint.h> // Use the C99 official header
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
9 %}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
10
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
11 %include <swigarch.i>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
12
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
13 /* Exact integral types. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
14
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
15 /* Signed. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
16
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
17 typedef signed char int8_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
18 typedef short int int16_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
19 typedef int int32_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
20 #if defined(SWIGWORDSIZE64)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
21 typedef long int int64_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
22 #else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
23 typedef long long int int64_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
24 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
25
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
26 /* Unsigned. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
27 typedef unsigned char uint8_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
28 typedef unsigned short int uint16_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
29 typedef unsigned int uint32_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
30 #if defined(SWIGWORDSIZE64)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
31 typedef unsigned long int uint64_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
32 #else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
33 typedef unsigned long long int uint64_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
34 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
35
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
36
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
37 /* Small types. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
38
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
39 /* Signed. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
40 typedef signed char int_least8_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
41 typedef short int int_least16_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
42 typedef int int_least32_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
43 #if defined(SWIGWORDSIZE64)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
44 typedef long int int_least64_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
45 #else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
46 typedef long long int int_least64_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
47 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
48
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
49 /* Unsigned. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
50 typedef unsigned char uint_least8_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
51 typedef unsigned short int uint_least16_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
52 typedef unsigned int uint_least32_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
53 #if defined(SWIGWORDSIZE64)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
54 typedef unsigned long int uint_least64_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
55 #else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
56 typedef unsigned long long int uint_least64_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
57 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
58
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
59
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
60 /* Fast types. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
61
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
62 /* Signed. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
63 typedef signed char int_fast8_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
64 #if defined(SWIGWORDSIZE64)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
65 typedef long int int_fast16_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
66 typedef long int int_fast32_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
67 typedef long int int_fast64_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
68 #else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
69 typedef int int_fast16_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
70 typedef int int_fast32_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
71 typedef long long int int_fast64_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
72 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
73
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
74 /* Unsigned. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
75 typedef unsigned char uint_fast8_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
76 #if defined(SWIGWORDSIZE64)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
77 typedef unsigned long int uint_fast16_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
78 typedef unsigned long int uint_fast32_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
79 typedef unsigned long int uint_fast64_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
80 #else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
81 typedef unsigned int uint_fast16_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
82 typedef unsigned int uint_fast32_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
83 typedef unsigned long long int uint_fast64_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
84 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
85
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
86
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
87 /* Types for `void *' pointers. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
88 #if defined(SWIGWORDSIZE64)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
89 typedef long int intptr_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
90 typedef unsigned long int uintptr_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
91 #else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
92 typedef int intptr_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
93 typedef unsigned int uintptr_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
94 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
95
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
96
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
97 /* Largest integral types. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
98 #if defined(SWIGWORDSIZE64)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
99 typedef long int intmax_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
100 typedef unsigned long int uintmax_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
101 #else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
102 typedef long long int intmax_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
103 typedef unsigned long long int uintmax_t;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
104 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
105
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
106