Cvariable¶

- class ccg.Cvariable.CVariable(name, c_type, initial_value=None, static=False, const=False, constexpr=False, auto_hungarize=False, doc=None)¶
Bases:
ccg.Ctypes.CGenericItem- Parameters
name (str) –
c_type (CGenericType) –
initial_value (Any) –
static (bool) –
const (bool) –
constexpr (bool) –
auto_hungarize (bool) –
doc (Optional[Doc]) –
- declaration(style=<ccg.style.Style object>, semicolon=True, doc=True, from_space=None, without_arguments=False)¶
- property bit_size: int¶
- declare()¶
- Return type
- property full_space_list: List[ccg.Cnamespace.CSpace]¶
- space_def(from_space=None)¶
- Parameters
from_space (Optional[ccg.Cnamespace.CSpace]) –
- Return type
str