python: Teach cxxMethod how to set return_value_policy.
authorGabe Black <gabeblack@google.com>
Thu, 7 Mar 2019 08:28:50 +0000 (00:28 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 14 Mar 2019 21:04:29 +0000 (21:04 +0000)
commit7bd864c144efd374adc36fe327339a0171ab4a72
treec622a139698a00a246ca003cc846ec4818bdd8f7
parent1a2a7c76a09186ecf111a62526cd35ade67cfd07
python: Teach cxxMethod how to set return_value_policy.

This is passed through to the underlying call to PyBindMethod.

Change-Id: Ib46c55664ba0707464bb84e137a0fad817aea1bb
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17034
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/python/m5/SimObject.py