MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / function

Class function

extern/pybind/include/pybind11/pytypes.h:2301–2312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2299};
2300
2301class function : public object {
2302public:
2303 PYBIND11_OBJECT_DEFAULT(function, object, PyCallable_Check)
2304 handle cpp_function() const {
2305 handle fun = detail::get_function(m_ptr);
2306 if (fun && PyCFunction_Check(fun.ptr())) {
2307 return fun;
2308 }
2309 return handle();
2310 }
2311 bool is_cpp_function() const { return (bool) cpp_function(); }
2312};
2313
2314class staticmethod : public object {
2315public:

Callers 2

get_type_overrideFunction · 0.85
get_overrideFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected