(self, interface, api, profile)
| 1558 | self.typedict[v.get('struct')].additionalValidity.append(copy.deepcopy(v)) |
| 1559 | |
| 1560 | def removeAdditionalValidity(self, interface, api, profile): |
| 1561 | # Loop over all usage inside all <remove> tags. |
| 1562 | for feature in interface.findall('remove'): |
| 1563 | if matchAPIProfile(api, profile, feature): |
| 1564 | for v in feature.findall('usage'): |
| 1565 | if v.get('command'): |
| 1566 | self.cmddict[v.get('command')].removedValidity.append(copy.deepcopy(v)) |
| 1567 | if v.get('struct'): |
| 1568 | self.typedict[v.get('struct')].removedValidity.append(copy.deepcopy(v)) |
| 1569 | |
| 1570 | def generateFeature(self, fname, ftype, dictionary, explicit=False): |
| 1571 | """Generate a single type / enum group / enum / command, |
no test coverage detected