Skip to content

Issue#4v2#8

Open
ptitdoc wants to merge 2 commits intoregit:masterfrom
ptitdoc:issue#4v2
Open

Issue#4v2#8
ptitdoc wants to merge 2 commits intoregit:masterfrom
ptitdoc:issue#4v2

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