intl/icu/source/tools/toolutil/pkg_imp.h

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 /*
michael@0 2 *******************************************************************************
michael@0 3 *
michael@0 4 * Copyright (C) 2005, International Business Machines
michael@0 5 * Corporation and others. All Rights Reserved.
michael@0 6 *
michael@0 7 *******************************************************************************
michael@0 8 * file name: pkg_imp.h
michael@0 9 * encoding: US-ASCII
michael@0 10 * tab size: 8 (not used)
michael@0 11 * indentation:4
michael@0 12 *
michael@0 13 * created on: 2005sep18
michael@0 14 * created by: Markus W. Scherer
michael@0 15 *
michael@0 16 * Implementation definitions for data package functions in toolutil.
michael@0 17 */
michael@0 18
michael@0 19 #ifndef __PKG_IMP_H__
michael@0 20 #define __PKG_IMP_H__
michael@0 21
michael@0 22 #include "unicode/utypes.h"
michael@0 23
michael@0 24 /*
michael@0 25 * Read an ICU data item with any platform type,
michael@0 26 * return the pointer to the UDataInfo in its header,
michael@0 27 * and set the lengths of the UDataInfo and of the whole header.
michael@0 28 * All data remains in its platform type.
michael@0 29 */
michael@0 30 U_CFUNC const UDataInfo *
michael@0 31 getDataInfo(const uint8_t *data, int32_t length,
michael@0 32 int32_t &infoLength, int32_t &headerLength,
michael@0 33 UErrorCode *pErrorCode);
michael@0 34
michael@0 35 #endif

mercurial