contract

Modules

main
module contract.main

Entry point for the contract tests

pyclass
module contract.pyclass

D code for contract tests verifying creation of PythonClass instances.

scalars
module contract.scalars

This module contains D code for the contract tests between Python and its C API regarding scalars. The functions below are meant to document the behaviour of said API when values are passed through the layer between the two languages, be it as function parameters or return values.

udt
module contract.udt

This module contains D code for the contract tests between Python and its C API regarding user-defined types.