27#ifndef TEMPTABLE_MISC_H
28#define TEMPTABLE_MISC_H
34#define TEMPTABLE_UNUSED [[maybe_unused]]
37#define TEMPTABLE_UNUSED_NODBUG [[maybe_unused]]
39#define TEMPTABLE_UNUSED_NODBUG
48 const unsigned char *small,
52 const unsigned char *big,
55 const unsigned char *small_after_last = small + small_length;
56 const unsigned char *big_after_last = big + big_length;
58 return small >= big && small_after_last <= big_after_last;
Header for compiler-dependent features.
Definition: allocator.h:48
bool buf_is_inside_another(const unsigned char *small, size_t small_length, const unsigned char *big, size_t big_length)
Check if a given buffer is inside another buffer.
Definition: misc.h:46