PythonType

A wrapper for PyTypeObject.

This struct does all of the necessary boilerplate to intialise a PyTypeObject for a Python extension type that mimics the D type T.

Members

Aliases

fieldNames
alias fieldNames = FieldNameTuple!T
Undocumented in source.
fieldTypes
alias fieldTypes = Fields!T
Undocumented in source.

Manifest constants

hasLength
enum hasLength;
Undocumented in source.

Static functions

pyObject
PyObject* pyObject()
Undocumented in source. Be warned that the author may not have intended to support it.
pyType
PyTypeObject* pyType()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_pyType
PyTypeObject _pyType;
Undocumented in source.
failedToReady
bool failedToReady;
Undocumented in source.

Meta