mirror of
https://github.com/electron/electron.git
synced 2026-02-16 10:07:05 -05:00
Use pump to generate source files.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
// This file was GENERATED by command:
|
||||
// pump.py function_template.h.pump
|
||||
// DO NOT EDIT BY HAND!!!
|
||||
|
||||
// Copyright 2013 The Chromium Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE.chromium file.
|
||||
@@ -116,6 +120,21 @@ struct Invoker<void, P1, P2, P3, P4, P5, P6, P7> {
|
||||
}
|
||||
};
|
||||
|
||||
template<typename R, typename P1, typename P2, typename P3, typename P4,
|
||||
typename P5, typename P6>
|
||||
struct Invoker<R, P1, P2, P3, P4, P5, P6, void> {
|
||||
inline static MATE_METHOD_RETURN_TYPE Go(
|
||||
Arguments& args,
|
||||
const base::Callback<R(P1, P2, P3, P4, P5, P6)>& callback,
|
||||
const P1& a1,
|
||||
const P2& a2,
|
||||
const P3& a3,
|
||||
const P4& a4,
|
||||
const P5& a5,
|
||||
const P6& a6) {
|
||||
MATE_METHOD_RETURN(callback.Run(a1, a2, a3, a4, a5, a6));
|
||||
}
|
||||
};
|
||||
template<typename P1, typename P2, typename P3, typename P4, typename P5,
|
||||
typename P6>
|
||||
struct Invoker<void, P1, P2, P3, P4, P5, P6, void> {
|
||||
@@ -529,7 +548,6 @@ struct Dispatcher<R(P1, P2, P3, P4, P5, P6, P7)> {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
} // namespace internal
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user