Newer
Older
delete reinterpret_cast<RaptorQ__v1::Decoder<uint64_t*, uint64_t*>*> (
return;
}
void RaptorQ_free_block (struct RaptorQ_ptr *ptr, const uint8_t sbn)
{
if (ptr == nullptr || ptr->type == RaptorQ_type::RQ_NONE ||
ptr->ptr == nullptr)
return (reinterpret_cast<RaptorQ__v1::Encoder<uint8_t*, uint8_t*>*> (
return (reinterpret_cast<RaptorQ__v1::Encoder<uint16_t*, uint16_t*>*> (
return (reinterpret_cast<RaptorQ__v1::Encoder<uint32_t*, uint32_t*>*> (
return (reinterpret_cast<RaptorQ__v1::Encoder<uint64_t*, uint64_t*>*> (
return (reinterpret_cast<RaptorQ__v1::Decoder<uint8_t*, uint8_t*>*> (
return (reinterpret_cast<RaptorQ__v1::Decoder<uint16_t*, uint16_t*>*> (
return (reinterpret_cast<RaptorQ__v1::Decoder<uint32_t*, uint32_t*>*> (
return (reinterpret_cast<RaptorQ__v1::Decoder<uint64_t*, uint64_t*>*> (
#ifndef USING_CLANG
// uncomment the return and:
// clang: WARN: will never be executed (exaustive switch)
// if commented, GCC: warn: control reaches end of non-void
// ...make up your mind, guys?
return;
#endif