2011-01-28 14:05:26 +03:00
|
|
|
/*
|
2011-02-01 14:25:36 +03:00
|
|
|
* 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.
|
|
|
|
*/
|
2011-01-28 14:05:26 +03:00
|
|
|
#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
|