• Robert Bradshaw's avatar
    Use PyTypeObject* for the builtin type type. · 7ed3f722
    Robert Bradshaw authored
    Many C API calls, both from CPython and externally, expect
    PyTypeObject* for the type argument.  A misdeclaration is
    a warning in C, but an error in C++.
    
    The C type of other builtins, such as lists, are not typically
    required in function signatures, so they are left as PyObject*.
    7ed3f722
PyrexTypes.py 153 KB