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

Method set

tests/test_methods_and_attributes.cpp:95–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93
94 int get() const { return value; }
95 void set(int v) { value = v; }
96
97 static int static_get() { return static_value; }
98 static void static_set(int v) { static_value = v; }

Callers 3

set1Method · 0.45
set2Method · 0.45
TEST_SUBMODULEFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected