virtual void modifyPrimitive( Primitive * object, const CompoundObject * operands ) { ScopedGILLock gilLock; this->get_override( "modifyPrimitive" )( PrimitivePtr( object ), CompoundObjectPtr( const_cast<CompoundObject *>( operands ) ) ); }
void modifyTypedPrimitive( T * object, const CompoundObject * operands ) override { ScopedGILLock gilLock; this->methodOverride( "modifyTypedPrimitive" )( ObjectPtr( object ), CompoundObjectPtr( const_cast<CompoundObject *>( operands ) ) ); }