(self, flags: int)
| 413 | return NAMES[invkind] |
| 414 | |
| 415 | def func_flags(self, flags: int) -> list[str]: |
| 416 | # map FUNCFLAGS values to idl attributes |
| 417 | NAMES = { |
| 418 | typeinfo.FUNCFLAG_FRESTRICTED: "restricted", |
| 419 | typeinfo.FUNCFLAG_FSOURCE: "source", |
| 420 | typeinfo.FUNCFLAG_FBINDABLE: "bindable", |
| 421 | typeinfo.FUNCFLAG_FREQUESTEDIT: "requestedit", |
| 422 | typeinfo.FUNCFLAG_FDISPLAYBIND: "displaybind", |
| 423 | typeinfo.FUNCFLAG_FDEFAULTBIND: "defaultbind", |
| 424 | typeinfo.FUNCFLAG_FHIDDEN: "hidden", |
| 425 | typeinfo.FUNCFLAG_FUSESGETLASTERROR: "usesgetlasterror", |
| 426 | typeinfo.FUNCFLAG_FDEFAULTCOLLELEM: "defaultcollelem", |
| 427 | typeinfo.FUNCFLAG_FUIDEFAULT: "uidefault", |
| 428 | typeinfo.FUNCFLAG_FNONBROWSABLE: "nonbrowsable", |
| 429 | # typeinfo.FUNCFLAG_FREPLACEABLE: "???", |
| 430 | typeinfo.FUNCFLAG_FIMMEDIATEBIND: "immediatebind", |
| 431 | } |
| 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 |
no outgoing calls
no test coverage detected