Closed byehack closed 1 year ago
Is this ready to merge?
Hi @ynkdir ,
before anything, I think the whole of PointerHandler
won't be cover the most of functions. it just does great job for few of them.
btw it is currently implemented, we should create a mapping python types and c-types that supported.
for example, in this PR we could add another condition for support convert int
to Int16, UInt16, Int64 and UInt64
too.
maybe the better way is using a dictionary that these types correctly mapped.
I will commit some changes before you complete it. It supports assigning to structure member with type casting and it conflicts with this pull request.
https://github.com/ynkdir/py-win32more/commit/c723275857ab6d104aa6afed2e731132f9de9a74 seems reasonable. I didn't test yet but seems works. I'm going to close this PR as we don't need it anymore.
Partially _fixes https://github.com/ynkdir/py-win32more/issues/4#issuecomment-1468900076