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

Class buffer_protocol

include/pybind11/attr.h:83–83  ·  view source on GitHub ↗

Annotation which enables the buffer protocol for a type

Source from the content-addressed store, hash-verified

81
82/// Annotation which enables the buffer protocol for a type
83struct buffer_protocol {};
84
85/// Annotation which enables releasing the GIL before calling the C++ destructor of wrapped
86/// instances (pybind/pybind11#1446).

Callers 2

TEST_SUBMODULEFunction · 0.85
TEST_SUBMODULEFunction · 0.85

Calls

no outgoing calls

Tested by 2

TEST_SUBMODULEFunction · 0.68
TEST_SUBMODULEFunction · 0.68