You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found while exploring #90. Usually, ctypes assumes c_int for arguments and return type if no directives via argtypes and/or restype are given, but somehow this also works for passing bytes objects in places where string buffers are usually expected. Not sure if it makes sense to allow this edge case without making the argument handling overly complicated.
The text was updated successfully, but these errors were encountered:
Found while exploring #90. Usually, ctypes assumes
c_int
for arguments and return type if no directives viaargtypes
and/orrestype
are given, but somehow this also works for passingbytes
objects in places where string buffers are usually expected. Not sure if it makes sense to allow this edge case without making the argument handling overly complicated.The text was updated successfully, but these errors were encountered: