v8stdint.h
Go to the documentation of this file.
1 // This header is from the v8 google project:
2 // http://code.google.com/p/v8/source/browse/trunk/include/v8stdint.h
3 
4 // Copyright 2012 the V8 project authors. All rights reserved.
5 // Redistribution and use in source and binary forms, with or without
6 // modification, are permitted provided that the following conditions are
7 // met:
8 //
9 // * Redistributions of source code must retain the above copyright
10 // notice, this list of conditions and the following disclaimer.
11 // * Redistributions in binary form must reproduce the above
12 // copyright notice, this list of conditions and the following
13 // disclaimer in the documentation and/or other materials provided
14 // with the distribution.
15 // * Neither the name of Google Inc. nor the names of its
16 // contributors may be used to endorse or promote products derived
17 // from this software without specific prior written permission.
18 //
19 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 
31 // Load definitions of standard types.
32 
33 #ifndef V8STDINT_H_
34 #define V8STDINT_H_
35 
36 #include <stddef.h>
37 #include <stdio.h>
38 
39 #if defined(_WIN32) && !defined(__MINGW32__)
40 
41 typedef signed char int8_t;
42 typedef unsigned char uint8_t;
43 typedef short int16_t; // NOLINT
44 typedef unsigned short uint16_t; // NOLINT
45 typedef int int32_t;
46 typedef unsigned int uint32_t;
47 typedef __int64 int64_t;
48 typedef unsigned __int64 uint64_t;
49 // intptr_t and friends are defined in crtdefs.h through stdio.h.
50 
51 #else
52 
53 #include <stdint.h>
54 
55 #endif
56 
57 #endif // V8STDINT_H_


xarm_api
Author(s):
autogenerated on Sat May 8 2021 02:51:23