Construct reverse mapping of APIs to features requiring them in self.apimap. - feature - name of the feature being generated
(self, feature)
| 119 | self.addInterfaceMapping(api, feature, required) |
| 120 | |
| 121 | def mapInterfaces(self, feature): |
| 122 | """Construct reverse mapping of APIs to features requiring them in |
| 123 | self.apimap. |
| 124 | |
| 125 | - feature - name of the feature being generated""" |
| 126 | |
| 127 | # Map each category of interface |
| 128 | self.mapInterfaceKeys(feature, 'basetype') |
| 129 | self.mapInterfaceKeys(feature, 'bitmask') |
| 130 | self.mapInterfaceKeys(feature, 'command') |
| 131 | self.mapInterfaceKeys(feature, 'define') |
| 132 | self.mapInterfaceKeys(feature, 'enum') |
| 133 | self.mapInterfaceKeys(feature, 'enumconstant') |
| 134 | self.mapInterfaceKeys(feature, 'funcpointer') |
| 135 | self.mapInterfaceKeys(feature, 'handle') |
| 136 | self.mapInterfaceKeys(feature, 'include') |
| 137 | self.mapInterfaceKeys(feature, 'struct') |
| 138 | self.mapInterfaceKeys(feature, 'union') |
| 139 | |
| 140 | def endFile(self): |
| 141 | super().endFile() |
no test coverage detected