Commit d4e2c988 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#820 Scripts/create accessor: add an argument in constructor to specify maximum length of a line.

parent c611c885
......@@ -33,7 +33,7 @@ def IsTemplate(template):
class CreateAccessors:
def __init__(self, template_args, class_name, typename, attribute_name, dox_comment, is_constant, Nchar_max = 110):
def __init__(self, template_args, class_name, typename, attribute_name, dox_comment, is_constant, Nchar_max = 100):
self._typename = typename
......@@ -232,7 +232,7 @@ class SmartPtr(CreateAccessors):
"""
def __init__(self, template_args, class_name, typename, smartptr, attribute_name, dox_comment, Nchar_max = 110):
def __init__(self, template_args, class_name, typename, smartptr, attribute_name, dox_comment, Nchar_max = 100):
self._smartptr = smartptr
......@@ -264,7 +264,7 @@ class Reference(CreateAccessors):
"""
def __init__(self, template_args, class_name, typename, attribute_name, dox_comment, is_const, Nchar_max = 110):
def __init__(self, template_args, class_name, typename, attribute_name, dox_comment, is_const, Nchar_max = 100):
self._is_constant = is_const
self._const_preffix = self._is_constant and "const " or ''
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment