MCPcopy Create free account
hub / github.com/Pulse-Eight/libcec / libcec_opcode_to_string

Function libcec_opcode_to_string

src/libcec/LibCECC.cpp:607–611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

605}
606
607void libcec_opcode_to_string(const CEC_NAMESPACE cec_opcode opcode, char* buf, size_t bufsize)
608{
609 std::string strBuf(CCECTypeUtils::ToString(opcode));
610 strncpy(buf, strBuf.c_str(), bufsize);
611}
612
613void libcec_system_audio_status_to_string(const CEC_NAMESPACE cec_system_audio_status mode, char* buf, size_t bufsize)
614{

Callers

nothing calls this directly

Calls 1

ToStringFunction · 0.85

Tested by

no test coverage detected