Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ setExtra2
Method
setExtra2
tests/test_pickling.cpp:70–70 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
68
69
void setExtra1(int extra1) { m_extra1 = extra1; }
70
void setExtra2(int extra2) { m_extra2 = extra2; }
71
int extra1() const { return m_extra1; }
72
int extra2() const { return m_extra2; }
73
Callers
2
TEST_SUBMODULE
Function · 0.80
test_roundtrip
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected