Now use ArgBind.meta. This allows meta attributes to be set per
language binding. It also makes declast.py independent of the wrapping
process (except for parsing attributes).
Add VariableNode._bind to replace metaattrs. Already on FunctionNode.
Replace internal meta attributes like _constructor and _destructor
with Declarator.is_ctor and is_dtor.
Do not set a default value attribute. Instead decided when to add the
Fortran VALUE attribute in append_fortran_value or via a statement
group.
Move most attribute checking from generate.py to metaattrs.py.
Now use
ArgBind.meta
. This allows meta attributes to be set per language binding. It also makesdeclast.py
independent of the wrapping process (except for parsing attributes).Add
VariableNode._bind
to replacemetaattrs
. Already onFunctionNode
.Replace internal meta attributes like _constructor and _destructor with
Declarator.is_ctor
andis_dtor
.Do not set a default value attribute. Instead decided when to add the Fortran
VALUE
attribute inappend_fortran_value
or via a statement group.Move most attribute checking from
generate.py
tometaattrs.py
.