Method CompilerEnvironment()->PikeCompiler()->push_type_attribute()
- Method push_type_attribute
boolpush_type_attribute(stringattribute,typea,typeb)- Description
Type attribute handler.
Called during type checking when
a <= bandbhad the type attributeattributebefore the comparison.The default implementation implements the "deprecated" attribute.
- Returns
Returns
1if the type check should be allowed (iea <= __attribute__(attribute, b)), and0(zero) otherwise.- See also