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

Side by Side Diff: src/base/functional.h

Issue 670673002: Remove v8stdint.h, it doesn't serve a purpose anymore. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed Windows builds Created 6 years, 2 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 | « src/base/bits.h ('k') | src/base/logging.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 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project 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 #ifndef V8_BASE_FUNCTIONAL_H_ 5 #ifndef V8_BASE_FUNCTIONAL_H_
6 #define V8_BASE_FUNCTIONAL_H_ 6 #define V8_BASE_FUNCTIONAL_H_
7 7
8 #include <stddef.h>
9 #include <stdint.h>
10
8 #include <cstddef> 11 #include <cstddef>
9 #include <cstring> 12 #include <cstring>
10 #include <functional> 13 #include <functional>
11 #include <utility> 14 #include <utility>
12 15
13 #include "include/v8stdint.h"
14 #include "src/base/macros.h" 16 #include "src/base/macros.h"
15 17
16 namespace v8 { 18 namespace v8 {
17 namespace base { 19 namespace base {
18 20
19 // base::hash is an implementation of the hash function object specified by 21 // base::hash is an implementation of the hash function object specified by
20 // C++11. It was designed to be compatible with std::hash (in C++11) and 22 // C++11. It was designed to be compatible with std::hash (in C++11) and
21 // boost:hash (which in turn is based on the hash function object specified by 23 // boost:hash (which in turn is based on the hash function object specified by
22 // the Draft Technical Report on C++ Library Extensions (TR1)). 24 // the Draft Technical Report on C++ Library Extensions (TR1)).
23 // 25 //
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 } \ 218 } \
217 }; 219 };
218 V8_BASE_BIT_SPECIALIZE_BIT_CAST(float, uint32_t) 220 V8_BASE_BIT_SPECIALIZE_BIT_CAST(float, uint32_t)
219 V8_BASE_BIT_SPECIALIZE_BIT_CAST(double, uint64_t) 221 V8_BASE_BIT_SPECIALIZE_BIT_CAST(double, uint64_t)
220 #undef V8_BASE_BIT_SPECIALIZE_BIT_CAST 222 #undef V8_BASE_BIT_SPECIALIZE_BIT_CAST
221 223
222 } // namespace base 224 } // namespace base
223 } // namespace v8 225 } // namespace v8
224 226
225 #endif // V8_BASE_FUNCTIONAL_H_ 227 #endif // V8_BASE_FUNCTIONAL_H_
OLDNEW
« no previous file with comments | « src/base/bits.h ('k') | src/base/logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698