MCPcopy Create free account
hub / github.com/pybind/pybind11 / PyValueHolder

Class PyValueHolder

tests/test_numpy_array.py:665–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

663# * Sanitizers are much more likely to detect heap-use-after-free due to
664# other ref-count bugs.
665class PyValueHolder:
666 def __init__(self, value):
667 self.value = value
668
669
670def WrapWithPyValueHolder(*values):

Callers 1

WrapWithPyValueHolderFunction · 0.85

Calls

no outgoing calls

Tested by 1

WrapWithPyValueHolderFunction · 0.68