Created
August 31, 2017 17:08
-
-
Save kirtivr/bccb3bddd30fbb49b4a5ba25d1c2e942 to your computer and use it in GitHub Desktop.
Ctypes specify argtypes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
printf.argtypes = [c_char_p, c_int, c_double] | |
printf("%s %d %f",...) works | |
printf("%d %d %d",...) does not work. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment