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.)

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

mercurial