(self, flags: int)
| 432 | return [NAMES[bit] for bit in NAMES if bit & flags] |
| 433 | |
| 434 | def param_flags(self, flags: int) -> list[str]: |
| 435 | # map PARAMFLAGS values to idl attributes |
| 436 | NAMES = { |
| 437 | typeinfo.PARAMFLAG_FIN: "in", |
| 438 | typeinfo.PARAMFLAG_FOUT: "out", |
| 439 | typeinfo.PARAMFLAG_FLCID: "lcid", |
| 440 | typeinfo.PARAMFLAG_FRETVAL: "retval", |
| 441 | typeinfo.PARAMFLAG_FOPT: "optional", |
| 442 | # typeinfo.PARAMFLAG_FHASDEFAULT: "", |
| 443 | # typeinfo.PARAMFLAG_FHASCUSTDATA: "", |
| 444 | } |
| 445 | return [NAMES[bit] for bit in NAMES if bit & flags] |
| 446 | |
| 447 | def coclass_type_flags(self, flags: int) -> list[str]: |
| 448 | # map TYPEFLAGS values to idl attributes |
no outgoing calls
no test coverage detected