throw helpful errors when params supplied are not ctype pointers (#122)
This commit is contained in:
parent
33dce4ecfd
commit
3744686f7b
3 changed files with 77 additions and 19 deletions
|
@ -41,6 +41,8 @@ def ctype_to_python_type(t):
|
|||
return "int"
|
||||
elif t == "double":
|
||||
return "float"
|
||||
elif "char * *" in t:
|
||||
return "list[str]"
|
||||
elif "char *" in t:
|
||||
return "str"
|
||||
elif "char" in t:
|
||||
|
|
Reference in a new issue