Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ set_value
Method
set_value
tests/test_buffers.cpp:330–330 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
328
public:
329
int32_t get_value() const { return *value; }
330
void set_value(int32_t v) { *value = v; }
331
332
py::buffer_info get_buffer_info() const {
333
return py::buffer_info(
Callers
1
test_noexcept_base
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected