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

Method load

include/pybind11/cast.h:360–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358struct void_caster {
359public:
360 bool load(handle src, bool) {
361 if (src && src.is_none()) {
362 return true;
363 }
364 return false;
365 }
366 static handle cast(T, return_value_policy /* policy */, handle /* parent */) {
367 return none().release();
368 }

Callers 11

loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
load_implMethod · 0.45
try_implicit_castsMethod · 0.45
try_implicit_castsMethod · 0.45
try_implicit_castsMethod · 0.45
cast.hFile · 0.45
load_impl_sequenceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected