Allow using a negative offset with callback buffers
[openal-soft.git] / common / alstring.h
blob6c5004ee1abe01fb32849bcb86441113ff10e161
1 #ifndef AL_STRING_H
2 #define AL_STRING_H
4 #include <cstddef>
5 #include <cstring>
8 namespace al {
10 /* These would be better served by using a string_view-like span/view with
11 * case-insensitive char traits.
13 int strcasecmp(const char *str0, const char *str1) noexcept;
14 int strncasecmp(const char *str0, const char *str1, std::size_t len) noexcept;
16 } // namespace al
18 #endif /* AL_STRING_H */