MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / SetContextMessageConsumer

Function SetContextMessageConsumer

test/c_interface_test.cpp:24–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22// TODO(antiagainst): Use public C API for setting the consumer once exists.
23#ifndef SPIRV_TOOLS_SHAREDLIB
24void SetContextMessageConsumer(spv_context context, MessageConsumer consumer) {
25 spvtools::SetContextMessageConsumer(context, consumer);
26}
27#else
28void SetContextMessageConsumer(spv_context, MessageConsumer) {}
29#endif

Callers 5

SetMessageConsumerMethod · 0.85
BuildModuleFunction · 0.85
IRContextMethod · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected