mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix cstring, cwchar
This commit is contained in:
parent
8227569c43
commit
0670013702
17 changed files with 172 additions and 127 deletions
|
@ -3,11 +3,14 @@
|
|||
|
||||
#include <cstddef>
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/cstring/strchr.hpp>
|
||||
#include <sprout/cwchar/wcschr.hpp>
|
||||
|
||||
namespace sprout {
|
||||
// Copyright (C) 2011 RiSK (sscrisk)
|
||||
|
||||
//
|
||||
// wcspbrk
|
||||
//
|
||||
inline SPROUT_CONSTEXPR wchar_t const*
|
||||
wcspbrk(wchar_t const* s1, wchar_t const* s2) {
|
||||
return !*s1 ? nullptr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue