(type)
| 392 | # Non-primitive return values wrapped with UNCHECKED won't be |
| 393 | # typechecked, and will be converted to ctypes.c_void_p. |
| 394 | def UNCHECKED(type): |
| 395 | if hasattr(type, "_type_") and isinstance(type._type_, str) and type._type_ != "P": |
| 396 | return type |
| 397 | else: |
| 398 | return ctypes.c_void_p |
| 399 | |
| 400 | |
| 401 | # ctypes doesn't have direct support for variadic functions, so we have to write |
no outgoing calls
no test coverage detected