(self)
| 211 | self.newline() |
| 212 | |
| 213 | def endFile(self): |
| 214 | # C-specific |
| 215 | # Finish C++ wrapper and multiple inclusion protection |
| 216 | if self.genOpts is None: |
| 217 | raise MissingGeneratorOptionsError() |
| 218 | self.newline() |
| 219 | write('#ifdef __cplusplus', file=self.outFile) |
| 220 | write('}', file=self.outFile) |
| 221 | write('#endif', file=self.outFile) |
| 222 | if self.genOpts.protectFile and self.genOpts.filename: |
| 223 | self.newline() |
| 224 | write('#endif', file=self.outFile) |
| 225 | # Finish processing in superclass |
| 226 | OutputGenerator.endFile(self) |
| 227 | |
| 228 | def beginFeature(self, interface, emit): |
| 229 | # Start processing in superclass |
nothing calls this directly
no test coverage detected