MCPcopy Create free account
hub / github.com/RenderKit/embree / invoke

Method invoke

tutorials/external/catch.hpp:4293–4301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4291 OcMethod( Class cls, SEL sel ) : m_cls( cls ), m_sel( sel ) {}
4292
4293 virtual void invoke() const {
4294 id obj = [[m_cls alloc] init];
4295
4296 performOptionalSelector( obj, @selector(setUp) );
4297 performOptionalSelector( obj, m_sel );
4298 performOptionalSelector( obj, @selector(tearDown) );
4299
4300 arcSafeRelease( obj );
4301 }
4302 private:
4303 virtual ~OcMethod() {}
4304

Callers

nothing calls this directly

Calls 2

performOptionalSelectorFunction · 0.85
arcSafeReleaseFunction · 0.85

Tested by

no test coverage detected