Carray

Inheritance diagram of ccg.Carray.CArray
class ccg.Carray.CArray(name, c_type, length, doc=None)

Bases: ccg.Cvariable.CVariable

Parameters
  • name (str) –

  • c_type (CGenericType) –

  • length (int) –

  • doc (Optional[Doc]) –

declaration(style=<ccg.style.Style object>, semicolon=True, doc=True, from_space=None, without_arguments=False)
Parameters
  • style (Style) –

  • semicolon (bool) –

  • doc (bool) –

  • from_space (CSpace) –

  • without_arguments (bool) –

Return type

str

property hungarian_prefixes: List[str]
property bit_size: int
declare()
Return type

ccg.Cstatement.CStatement

doc_render(style)
Parameters

style (Style) –

Return type

str

property full_space_list: List[ccg.Cnamespace.CSpace]
space_def(from_space=None)
Parameters

from_space (Optional[ccg.Cnamespace.CSpace]) –

Return type

str

style_checks(style)
Parameters

style (Style) –

Return type

None