Skip to content

Commit

Permalink
Add support for uint16_t to ctypes FFI helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
wbond committed Oct 1, 2022
1 parent 7fb0e5a commit a94c5a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions oscrypto/_ffi.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ def callback(library, signature_name, func):
'int': c_int,
'unsigned int': c_uint,
'size_t': ctypes.c_size_t,
'uint16_t': ctypes.c_uint16,
'uint32_t': ctypes.c_uint32,
}
if sys.platform == 'win32':
Expand Down

0 comments on commit a94c5a4

Please sign in to comment.