MCPcopy Create free account
hub / github.com/ImageEngine/cortex / convertible

Method convertible

src/IECorePython/PathMatcherBinding.cpp:227–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225 }
226
227 static void *convertible( PyObject *obj )
228 {
229 extract<std::string> e( obj );
230 if( e.check() )
231 {
232 return obj;
233 }
234 return nullptr;
235 }
236
237 static void construct( PyObject *obj, boost::python::converter::rvalue_from_python_stage1_data *data )
238 {

Callers

nothing calls this directly

Calls 1

checkMethod · 0.45

Tested by

no test coverage detected