Py_SET_SIZE

Not part of the python api, but annoying to do without.

  1. void Py_SET_REFCNT(T* ob, int refcnt)
  2. void Py_SET_TYPE(T* ob, PyTypeObject* tipo)
  3. void Py_SET_SIZE(T* ob, Py_ssize_t size)
    extern (C)
    void
    Py_SET_SIZE
    (
    T
    )

Meta