| Index: tools/json_schema_compiler/h_generator.py
|
| diff --git a/tools/json_schema_compiler/h_generator.py b/tools/json_schema_compiler/h_generator.py
|
| index 77356b2091fbada48c5cb683322c0047e085f775..77dcadd529eb22070a5c337a88f85390612cf399 100644
|
| --- a/tools/json_schema_compiler/h_generator.py
|
| +++ b/tools/json_schema_compiler/h_generator.py
|
| @@ -3,7 +3,7 @@
|
| # found in the LICENSE file.
|
|
|
| from code import Code
|
| -from model import PropertyType, Type
|
| +from model import PropertyType
|
| import cpp_util
|
| import schema_util
|
|
|
| @@ -303,9 +303,8 @@ class _Generator(object):
|
| c = Code()
|
| # TODO(kalman): Use function.unix_name not Classname here.
|
| function_namespace = cpp_util.Classname(function.name)
|
| - """Windows has a #define for SendMessage, so to avoid any issues, we need
|
| - to not use the name.
|
| - """
|
| + # Windows has a #define for SendMessage, so to avoid any issues, we need
|
| + # to not use the name.
|
| if function_namespace == 'SendMessage':
|
| function_namespace = 'PassMessage'
|
| (c.Append('namespace %s {' % function_namespace)
|
|
|