Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ ptr
Function
ptr
include/pybind11/pytypes.h:267–267 ·
view source on GitHub ↗
Return the underlying ``PyObject *`` pointer
Source
from the content-addressed store, hash-verified
265
266
/// Return the underlying ``PyObject *`` pointer
267
PyObject *ptr() const { return m_ptr; }
268
PyObject *&ptr() { return m_ptr; }
269
270
/** \rst
Callers
3
reload
Function · 0.85
add_object
Function · 0.85
clear
Method · 0.85
Calls
1
ptr
Method · 0.80
Tested by
no test coverage detected