[Mlir-commits] [mlir] [mlir][python] Make the Context/Operation capsule creation methods work as documented. (PR #76010)

Maksim Levental llvmlistbot at llvm.org
Wed Dec 20 00:02:30 PST 2023


makslevental wrote:

> https://github.com/pybind/pybind11/blob/eeac2f45728633d7ee6fe792bea2890345697119/include/pybind11/cast.h#L1110

TIL:

> (You can enforce a custom return value policy as a template argument to cast.)

Okay will review with a fine-toothed comb tomorrow!

https://github.com/llvm/llvm-project/pull/76010


More information about the Mlir-commits mailing list