| 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 $var MAX_ARITY = 7 | 8 $var MAX_ARITY = 7 |
| 9 | 9 |
| 10 // Copyright 2014 The Chromium Authors. All rights reserved. | 10 // Copyright 2014 The Chromium Authors. All rights reserved. |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 [[internal::Forward(a$(ARG))]]); | 77 [[internal::Forward(a$(ARG))]]); |
| 78 } | 78 } |
| 79 Sink sink; | 79 Sink sink; |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 internal::SharedPtr<Runnable> sink_; | 82 internal::SharedPtr<Runnable> sink_; |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 ]] $$ for ARITY | 85 ]] $$ for ARITY |
| 86 | 86 |
| 87 typedef Callback<void()> Closure; |
| 88 |
| 87 } // namespace mojo | 89 } // namespace mojo |
| 88 | 90 |
| 89 #endif // MOJO_PUBLIC_CPP_BINDINGS_CALLBACK_H_ | 91 #endif // MOJO_PUBLIC_CPP_BINDINGS_CALLBACK_H_ |
| OLD | NEW |