| OLD | NEW |
| 1 $$ This is a pump file for generating file templates. Pump is a python | 1 $$ This is a pump file for generating file templates. Pump is a python |
| 2 $$ script that is part of the Google Test suite of utilities. Description | 2 $$ script that is part of the Google Test suite of utilities. Description |
| 3 $$ can be found here: | 3 $$ can be found here: |
| 4 $$ | 4 $$ |
| 5 $$ http://code.google.com/p/googletest/wiki/PumpManual | 5 $$ http://code.google.com/p/googletest/wiki/PumpManual |
| 6 $$ | 6 $$ |
| 7 | 7 |
| 8 // TODO(ajwong): If you create an fully unbound method, is there a way to | 8 // TODO(ajwong): If you create an fully unbound method, is there a way to |
| 9 // enforce the first argument must be refcounted? Or do we just say | 9 // enforce the first argument must be refcounted? Or do we just say |
| 10 // "oh well"? | 10 // "oh well"? |
| 11 // | 11 // |
| 12 // Do we want to allow creating a fully unbound method?? | 12 // Do we want to allow creating a fully unbound method?? |
| 13 | 13 |
| 14 $var MAX_ARITY = 11 | 14 $var MAX_ARITY = 6 |
| 15 $range ARITY 0..MAX_ARITY | 15 $range ARITY 0..MAX_ARITY |
| 16 | 16 |
| 17 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 17 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 18 // Use of this source code is governed by a BSD-style license that can be | 18 // Use of this source code is governed by a BSD-style license that can be |
| 19 // found in the LICENSE file. | 19 // found in the LICENSE file. |
| 20 | 20 |
| 21 #ifndef BASE_BIND_INTERNAL_H_ | 21 #ifndef BASE_BIND_INTERNAL_H_ |
| 22 #define BASE_BIND_INTERNAL_H_ | 22 #define BASE_BIND_INTERNAL_H_ |
| 23 #pragma once | 23 #pragma once |
| 24 | 24 |
| (...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 | 491 |
| 492 ]] | 492 ]] |
| 493 }; | 493 }; |
| 494 | 494 |
| 495 ]] $$ for ARITY | 495 ]] $$ for ARITY |
| 496 | 496 |
| 497 } // namespace internal | 497 } // namespace internal |
| 498 } // namespace base | 498 } // namespace base |
| 499 | 499 |
| 500 #endif // BASE_BIND_INTERNAL_H_ | 500 #endif // BASE_BIND_INTERNAL_H_ |
| OLD | NEW |