-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix function signatures to match C APIs #132
Conversation
Ok so I've looked the library and it looks like the only other function that has ordering issues is |
@rodrigc please take a look. This should fix the argument ordering issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made the same fixes in my local tree to get things to work, so this looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks OK. I made pretty much the same changes in my local copy of pywincffi to get things to work with Twisted.
You may want to add a test to where lpApplicationName is a valid unicode string. Seems all your tests right now it is None, with one test where it is 1
.
lpApplicationName usually does not need to be set because lpCommandLine typically contains the application name.
Thanks, fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
This PR