diff options
Diffstat (limited to 'registry/cgenerator.py')
-rw-r--r-- | registry/cgenerator.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/registry/cgenerator.py b/registry/cgenerator.py index f86658e..8192c18 100644 --- a/registry/cgenerator.py +++ b/registry/cgenerator.py @@ -243,7 +243,7 @@ class COutputGenerator(OutputGenerator): if self.genOpts.conventions is None: raise MissingGeneratorOptionsConventionsError() is_core = self.featureName and self.featureName.startswith(self.conventions.api_prefix + 'VERSION_') - if self.genOpts.conventions.writeFeature(self.featureExtraProtect, self.genOpts.filename): + if self.genOpts.conventions.writeFeature(self.featureName, self.featureExtraProtect, self.genOpts.filename): self.newline() if self.genOpts.protectFeature: write('#ifndef', self.featureName, file=self.outFile) @@ -507,7 +507,7 @@ class COutputGenerator(OutputGenerator): self.appendSection('commandPointer', decls[1]) def misracstyle(self): - return self.genOpts.misracstyle; + return self.genOpts.misracstyle def misracppstyle(self): - return self.genOpts.misracppstyle; + return self.genOpts.misracppstyle |