feat/support_fiber #2
@ -13,7 +13,7 @@ set(CMAKE_CXX_STANDARD 11)
|
|||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
|
|
||||||
set(CMAKE_C_STANDARD 99)
|
set(CMAKE_C_STANDARD 11)
|
||||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||||
|
|
||||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||||
|
@ -364,10 +364,10 @@ PolymorphicBuffer MakeForeignBuffer(std::string buffer);
|
|||||||
template <typename T>
|
template <typename T>
|
||||||
PolymorphicBuffer MakeForeignBuffer(std::vector<T> buffer);
|
PolymorphicBuffer MakeForeignBuffer(std::vector<T> buffer);
|
||||||
|
|
||||||
bool StartsWith(const NoncontiguousBuffer &buffer, Slice prefix);
|
bool StartsWith(NoncontiguousBuffer buffer, Slice prefix);
|
||||||
bool EndsWith(const NoncontiguousBuffer &buffer, Slice suffix);
|
bool EndsWith(NoncontiguousBuffer buffer, Slice suffix);
|
||||||
bool StartsWithIgnoreCase(const NoncontiguousBuffer &buffer, Slice prefix);
|
bool StartsWithIgnoreCase(NoncontiguousBuffer buffer, Slice prefix);
|
||||||
bool EndsWithIgnoreCase(const NoncontiguousBuffer &buffer, Slice suffix);
|
bool EndsWithIgnoreCase(NoncontiguousBuffer buffer, Slice suffix);
|
||||||
} // namespace tile
|
} // namespace tile
|
||||||
|
|
||||||
#endif // TILE_BASE_BUFFER_H
|
#endif // TILE_BASE_BUFFER_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user