MCPcopy Create free account
hub / github.com/bloomberg/pystack / toInteger

Method toInteger

src/pystack/_pystack/pytypes.cpp:608–614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

606}
607
608long
609Object::toInteger() const
610{
611 _PyIntObject the_int;
612 d_manager->copyObjectFromProcess(d_addr, &the_int);
613 return the_int.ob_ival;
614}
615
616double
617Object::toFloat() const

Callers

nothing calls this directly

Calls 1

copyObjectFromProcessMethod · 0.80

Tested by

no test coverage detected