X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b25be06635768807f8f693286fa73bb2297bb06c..4388f060552cc537e71e957d32f35e9d75a61233:/icuSources/tools/genrb/reslist.h diff --git a/icuSources/tools/genrb/reslist.h b/icuSources/tools/genrb/reslist.h index 52737afd..f0eaeff5 100644 --- a/icuSources/tools/genrb/reslist.h +++ b/icuSources/tools/genrb/reslist.h @@ -1,7 +1,7 @@ /* ******************************************************************************* * -* Copyright (C) 2000-2009, International Business Machines +* Copyright (C) 2000-2011, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* @@ -130,7 +130,7 @@ struct SResString { int8_t fNumCharsForLength; }; -struct SResource *string_open(struct SRBRoot *bundle, char *tag, const UChar *value, int32_t len, const struct UString* comment, UErrorCode *status); +struct SResource *string_open(struct SRBRoot *bundle, const char *tag, const UChar *value, int32_t len, const struct UString* comment, UErrorCode *status); /** * Remove a string from a bundle and close (delete) it. @@ -139,21 +139,21 @@ struct SResource *string_open(struct SRBRoot *bundle, char *tag, const UChar *va */ void bundle_closeString(struct SRBRoot *bundle, struct SResource *string); -struct SResource *alias_open(struct SRBRoot *bundle, char *tag, UChar *value, int32_t len, const struct UString* comment, UErrorCode *status); +struct SResource *alias_open(struct SRBRoot *bundle, const char *tag, UChar *value, int32_t len, const struct UString* comment, UErrorCode *status); struct SResIntVector { uint32_t fCount; uint32_t *fArray; }; -struct SResource* intvector_open(struct SRBRoot *bundle, char *tag, const struct UString* comment, UErrorCode *status); +struct SResource* intvector_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment, UErrorCode *status); void intvector_add(struct SResource *intvector, int32_t value, UErrorCode *status); struct SResInt { uint32_t fValue; }; -struct SResource *int_open(struct SRBRoot *bundle, char *tag, int32_t value, const struct UString* comment, UErrorCode *status); +struct SResource *int_open(struct SRBRoot *bundle, const char *tag, int32_t value, const struct UString* comment, UErrorCode *status); struct SResBinary { uint32_t fLength;