X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/efa1e6592fb03ce23b15276b2b91d885a3ee7da5..57a6839dcb3bba09e8228b822b290604668416fe:/icuSources/test/letest/FontTableCache.h diff --git a/icuSources/test/letest/FontTableCache.h b/icuSources/test/letest/FontTableCache.h index 36971e4c..d0e1c54b 100644 --- a/icuSources/test/letest/FontTableCache.h +++ b/icuSources/test/letest/FontTableCache.h @@ -1,6 +1,6 @@ /* ********************************************************************** - * Copyright (C) 2003-2008, International Business Machines + * Copyright (C) 2003-2013, International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** */ @@ -22,15 +22,15 @@ public: virtual ~FontTableCache(); - const void *find(LETag tableTag) const; + const void *find(LETag tableTag, size_t &length) const; protected: - virtual const void *readFontTable(LETag tableTag) const = 0; + virtual const void *readFontTable(LETag tableTag, size_t &length) const = 0; virtual void freeFontTable(const void *table) const; private: - void add(LETag tableTag, const void *table); + void add(LETag tableTag, const void *table, size_t length); FontTableCacheEntry *fTableCache; le_int32 fTableCacheCurr;