Commit 1aab6ae
authored
Implement
* feat: Implement `ITypeInfo.AddressOfMember`, add type hints, and new test.
Implements the `ITypeInfo.AddressOfMember` method to support retrieving
addresses of static functions and variables. This allows access to
member addresses of COM objects. Type hints and tests have also been added.
* docs: Add clarifying comments to `test_module_ITypeInfo`.
Adds comments to the `test_module_ITypeInfo` to clarify the usage of
`stdole2.tlb` and provide an alternative method for obtaining typeinfo.
* test: Add assertions for `GetTypeAttr` in `test_module_ITypeInfo`
Adds assertions for `tattr.cImplTypes` and `tattr.typekind` within the
`test_module_ITypeInfo`.
* test: Validate `GetDllEntry` return values and add comments.
Adds assertions to verify the `dll_name`, `func_name`, and `ordinal`
returned by `tinfo.GetDllEntry`. Also includes clarifying comments
regarding the behavior of `GetDllEntry` and the `stdole2.tlb`
component.ITypeInfo.AddressOfMember with tests and clarifications. (#905)1 parent 921b699 commit 1aab6ae
2 files changed
+36
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
134 | 167 | | |
135 | 168 | | |
136 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
| 408 | + | |
409 | 409 | | |
410 | | - | |
411 | 410 | | |
412 | | - | |
413 | | - | |
414 | | - | |
| 411 | + | |
| 412 | + | |
415 | 413 | | |
416 | 414 | | |
417 | 415 | | |
| |||
0 commit comments