Skip to content
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

Issue#4v2 #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Issue#4v2 #8

wants to merge 2 commits into from

Conversation

ptitdoc
Copy link

@ptitdoc ptitdoc commented Apr 12, 2016

Pull request rework based on regit comments.

Olivier Medoc added 2 commits April 12, 2016 08:48
Check error codes more precisely based on the c library documentation

Also ensure that parameters that are sent to the c library are stored in the class to avoid pointer dereferencement while running the c code because of potential garbage collection
Types are apparently not strict enough and this cause segmentat
tion faults when running wrapped functions:
* Usage of c_void_p instead of c_int is used to let the wrapper
decide the size of a pointer (32bits vs 64bits systems...)
* c_int vs c_uint are used based on the enum values that have b
een documented
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant