PyObject_NewVar

PyObject_NewVar(type, typeobj, n) is similar but allocates a variable-size object with room for n items. In addition to the refcount and type pointer fields, this also fills in the ob_size field.

extern (C)
type*
PyObject_NewVar
(
type
)

Meta