Make the function-pointer typedef name for a command or funcpointer name. If this is a function pointer tag, do not prepend a PFN_ to the name, as that is actually the type name and already included.
(self, name, tail, isfuncpointer)
| 1136 | return self.genOpts.apientry + name + tail |
| 1137 | |
| 1138 | def makeTypedefName(self, name, tail, isfuncpointer): |
| 1139 | """Make the function-pointer typedef name for a command or |
| 1140 | funcpointer name. |
| 1141 | If this is a function pointer <type> tag, do not prepend a PFN_ |
| 1142 | to the name, as that is actually the type name and already |
| 1143 | included. |
| 1144 | """ |
| 1145 | if self.genOpts is None: |
| 1146 | raise MissingGeneratorOptionsError() |
| 1147 | |
| 1148 | prefix = '' if isfuncpointer else 'PFN_' |
| 1149 | |
| 1150 | return f'({self.genOpts.apientryp}{prefix}{name}{tail})' |
| 1151 | |
| 1152 | def makeCParamDecl(self, param, aligncol): |
| 1153 | """Return a string which is an indented, formatted |
no test coverage detected