mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-20 20:19:32 +00:00
ICU-420 make header files build by themselves
X-SVN-Rev: 1558
This commit is contained in:
parent
c3e0b6d2b3
commit
3ec60c904e
4 changed files with 18 additions and 8 deletions
|
@ -20,6 +20,12 @@
|
|||
* and some common definitions.
|
||||
*/
|
||||
|
||||
|
||||
/* utf.h must be included first. */
|
||||
#ifndef __UTF_H__
|
||||
# include "unicode/utf.h"
|
||||
#endif
|
||||
|
||||
#ifndef __UTF8_H__
|
||||
#define __UTF8_H__
|
||||
|
||||
|
|
|
@ -177,4 +177,13 @@ Collator::getDisplayName( const Locale& objectLocale,
|
|||
return objectLocale.getDisplayName(Locale::getDefault(), name);
|
||||
}
|
||||
|
||||
void
|
||||
Collator::getVersion(UVersionInfo versionInfo) const
|
||||
{
|
||||
|
||||
if(versionInfo!=NULL) {
|
||||
uprv_memcpy(versionInfo, fVersion, U_MAX_VERSION_LENGTH);
|
||||
}
|
||||
}
|
||||
|
||||
//eof
|
||||
|
|
|
@ -49,7 +49,6 @@
|
|||
#include "unicode/utypes.h"
|
||||
#include "unicode/unistr.h"
|
||||
#include "unicode/normlzr.h"
|
||||
#include "cmemory.h"
|
||||
|
||||
class CollationKey;
|
||||
|
||||
|
@ -602,12 +601,5 @@ Collator::getDecomposition() const
|
|||
return decmp;
|
||||
}
|
||||
|
||||
inline void
|
||||
Collator::getVersion(UVersionInfo versionInfo) const
|
||||
{
|
||||
if(versionInfo!=NULL) {
|
||||
uprv_memcpy(versionInfo, fVersion, U_MAX_VERSION_LENGTH);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
#ifndef PARSEERR_H
|
||||
#define PARSEERR_H
|
||||
|
||||
#include "unicode/utypes.h"
|
||||
#include "unicode/unistr.h"
|
||||
|
||||
/**
|
||||
* A ParseError struct is used to returned detailed information about
|
||||
* parsing errors. It is used by ICU parsing engines that parse long
|
||||
|
|
Loading…
Add table
Reference in a new issue