Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ AddInCppRawPtr
Function
AddInCppRawPtr
tests/test_class_sh_trampoline_basic.cpp:33–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
};
32
33
int AddInCppRawPtr(const Abase *obj, int other_val) { return obj->Add(other_val) * 10 + 7; }
34
35
int AddInCppSharedPtr(const std::shared_ptr<Abase> &obj, int other_val) {
36
return obj->Add(other_val) * 100 + 11;
Callers
nothing calls this directly
Calls
1
Add
Method · 0.45
Tested by
no test coverage detected