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

Function setItem

src/IECorePython/ObjectVectorBinding.cpp:114–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114static void setItem( ObjectVector &o, int64_t index, ObjectPtr value )
115{
116 if ( !value )
117 {
118 PyErr_SetString( PyExc_ValueError, "Invalid Object pointer!" );
119 throw_error_already_set();
120 }
121 o.members()[convertIndex( o, index )] = value;
122}
123
124static void delItem( ObjectVector &o, int64_t index )
125{

Callers

nothing calls this directly

Calls 1

convertIndexFunction · 0.85

Tested by

no test coverage detected