bc1bd8bac0
logs (the OpenTracker license doesn't apply since NaturalCompare was never part of OpenTracker). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40341 a95241bf-73f2-0310-859d-f6bbb57e9c96
23 lines
522 B
C++
23 lines
522 B
C++
/*
|
|
* Copyright 2009, Dana Burkart
|
|
* Copyright 2009, Stephan Aßmus <superstippi@gmx.de>
|
|
* Copyright 2010, Axel Dörfler, axeld@pinc-software.de
|
|
* Copyright 2010, Rene Gollent (anevilyak@gmail.com)
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _NATURAL_COMPARE_H
|
|
#define _NATURAL_COMPARE_H
|
|
|
|
|
|
namespace BPrivate {
|
|
|
|
|
|
//! Compares two strings naturally, as opposed to lexicographically
|
|
int NaturalCompare(const char* stringA, const char* stringB);
|
|
|
|
|
|
} // namespace BPrivate
|
|
|
|
|
|
#endif // _NATURAL_COMPARE_H
|