| OLD | NEW |
| 1 // This file was GENERATED by command: | 1 // This file was GENERATED by command: |
| 2 // pump.py bind_internal_win.h.pump | 2 // pump.py bind_internal_win.h.pump |
| 3 // DO NOT EDIT BY HAND!!! | 3 // DO NOT EDIT BY HAND!!! |
| 4 | 4 |
| 5 | 5 |
| 6 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 6 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 7 // Use of this source code is governed by a BSD-style license that can be | 7 // Use of this source code is governed by a BSD-style license that can be |
| 8 // found in the LICENSE file. | 8 // found in the LICENSE file. |
| 9 | 9 |
| 10 // Specializations of RunnableAdapter<> for Windows specific calling | 10 // Specializations of RunnableAdapter<> for Windows specific calling |
| 11 // conventions. Please see base/bind_internal.h for more info. | 11 // conventions. Please see base/bind_internal.h for more info. |
| 12 | 12 |
| 13 #ifndef BASE_BIND_INTERNAL_WIN_H_ | 13 #ifndef BASE_BIND_INTERNAL_WIN_H_ |
| 14 #define BASE_BIND_INTERNAL_WIN_H_ | 14 #define BASE_BIND_INTERNAL_WIN_H_ |
| 15 #pragma once | |
| 16 | 15 |
| 17 // In the x64 architecture in Windows, __fastcall, __stdcall, etc, are all | 16 // In the x64 architecture in Windows, __fastcall, __stdcall, etc, are all |
| 18 // the same as __cdecl which would turn the following specializations into | 17 // the same as __cdecl which would turn the following specializations into |
| 19 // multiple definitions. | 18 // multiple definitions. |
| 20 #if !defined(ARCH_CPU_X86_64) | 19 #if !defined(ARCH_CPU_X86_64) |
| 21 | 20 |
| 22 namespace base { | 21 namespace base { |
| 23 namespace internal { | 22 namespace internal { |
| 24 | 23 |
| 25 template <typename Functor> | 24 template <typename Functor> |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 private: | 359 private: |
| 361 R (__fastcall *function_)(A1, A2, A3, A4, A5, A6, A7); | 360 R (__fastcall *function_)(A1, A2, A3, A4, A5, A6, A7); |
| 362 }; | 361 }; |
| 363 | 362 |
| 364 } // namespace internal | 363 } // namespace internal |
| 365 } // namespace base | 364 } // namespace base |
| 366 | 365 |
| 367 #endif // !defined(ARCH_CPU_X86_64) | 366 #endif // !defined(ARCH_CPU_X86_64) |
| 368 | 367 |
| 369 #endif // BASE_BIND_INTERNAL_WIN_H_ | 368 #endif // BASE_BIND_INTERNAL_WIN_H_ |
| OLD | NEW |