cppyabm  1.0.17
An agent-based library to integrate C++ and Python
Functions
test_custom_type_casters Namespace Reference

Functions

def test_noconvert_args (msg)
 
def test_custom_caster_destruction ()
 

Function Documentation

◆ test_custom_caster_destruction()

def test_custom_type_casters.test_custom_caster_destruction ( )
Tests that returning a pointer to a type that gets converted with a custom type caster gets
destroyed when the function has py::return_value_policy::take_ownership policy applied.

Definition at line 95 of file test_custom_type_casters.py.

◆ test_noconvert_args()

def test_custom_type_casters.test_noconvert_args (   msg)

Definition at line 6 of file test_custom_type_casters.py.