| Index: testing/generate_gmock_mutant.py
|
| diff --git a/testing/generate_gmock_mutant.py b/testing/generate_gmock_mutant.py
|
| index bd870b50b9f758d9edd0f77542aca822402d5109..5920b52374b60b351ff0443a540721d7476ffab0 100755
|
| --- a/testing/generate_gmock_mutant.py
|
| +++ b/testing/generate_gmock_mutant.py
|
| @@ -1,5 +1,5 @@
|
| #!/usr/bin/env python
|
| -# Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +# Copyright (c) 2012 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 file.
|
|
|
| @@ -425,11 +425,11 @@ def GenerateCreateFunctor(prebound, calltime):
|
| print stdcall_method
|
| # Functor for free function with __stdcall calling conventions.
|
| stdcall_function = CREATE_FUNCTION_FUNCTOR_TEMPLATE
|
| - stdcall_function = stdcall_function.replace("R (*", "R (__stdcall *");
|
| + stdcall_function = stdcall_function.replace("R (*", "R (__stdcall *")
|
| print "\n", FixCode(stdcall_function % args)
|
|
|
| print "#ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING"
|
| - stdcall2 = stdcall_method;
|
| + stdcall2 = stdcall_method
|
| stdcall2 = stdcall2.replace("CreateFunctor(T* obj,", "CreateFunctor(T** obj,")
|
| stdcall2 = stdcall2.replace("new Mutant", "new MutantLateObjectBind")
|
| stdcall2 = stdcall2.replace(" " * 17 + "Tuple", " " * 31 + "Tuple")
|
|
|