/*
**********************************************************************
-* Copyright (C) 1999-2009, International Business Machines
+* Copyright (C) 1999-2011, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
*
* @param err The error code
* @return the newly created converter
*/
-UConverter *ucnv_createConverter (UConverter *myUConverter, const char *converterName, UErrorCode * err);
+U_CAPI UConverter *
+ucnv_createConverter(UConverter *myUConverter, const char *converterName, UErrorCode * err);
/*
* Open a purely algorithmic converter, specified by a type constant.
* unload mySharedConverterData, except via ucnv_close(return value)
* if this function is successful.
*/
-UConverter*
+U_CFUNC UConverter *
ucnv_createConverterFromSharedData(UConverter *myUConverter,
UConverterSharedData *mySharedConverterData,
UConverterLoadArgs *pArgs,
UErrorCode *err);
-UConverter* ucnv_createConverterFromPackage(const char *packageName, const char *converterName,
- UErrorCode *err);
+U_CFUNC UConverter *
+ucnv_createConverterFromPackage(const char *packageName, const char *converterName, UErrorCode *err);
/**
* Load a converter but do not create a UConverter object.
* - pieces!=NULL && args!=NULL
* @internal
*/
-UConverterSharedData *
+U_CFUNC UConverterSharedData *
ucnv_loadSharedData(const char *converterName,
UConverterNamePieces *pieces,
UConverterLoadArgs *pArgs,
* This may unload the shared data in a thread safe manner.
* This will only unload the data if no other converters are sharing it.
*/
-void
+U_CFUNC void
ucnv_unloadSharedDataIfReady(UConverterSharedData *sharedData);
/**
* This is a thread safe way to increment the reference count.
*/
-void
+U_CFUNC void
ucnv_incrementRefCount(UConverterSharedData *sharedData);
/**