python: Teach PyBindMethod how to set return_value_policy.
authorGabe Black <gabeblack@google.com>
Thu, 7 Mar 2019 08:27:52 +0000 (00:27 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 14 Mar 2019 21:03:48 +0000 (21:03 +0000)
commit1a2a7c76a09186ecf111a62526cd35ade67cfd07
tree971ebbf54f9060ca7b06b470c77c49514530e4aa
parent8cedf1df11f7de007fddd24a6f313eb875ebd1e8
python: Teach PyBindMethod how to set return_value_policy.

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