/*
******************************************************************************
*
-* Copyright (C) 1999-2003, International Business Machines
+* Copyright (C) 1999-2011, International Business Machines
* Corporation and others. All Rights Reserved.
*
******************************************************************************/
U_CFUNC uint16_t
udata_getInfoSize(const UDataInfo *info);
+U_CDECL_BEGIN
/*
* "Virtual" functions for data lookup.
* To call one, given a UDataMemory *p, the code looks like this:
*/
typedef const DataHeader *
-(* LookupFn)(const UDataMemory *pData,
- const char *tocEntryName,
- int32_t *pLength,
- UErrorCode *pErrorCode);
+(U_CALLCONV * LookupFn)(const UDataMemory *pData,
+ const char *tocEntryName,
+ int32_t *pLength,
+ UErrorCode *pErrorCode);
typedef uint32_t
-(* NumEntriesFn)(const UDataMemory *pData);
+(U_CALLCONV * NumEntriesFn)(const UDataMemory *pData);
+
+U_CDECL_END
typedef struct {
LookupFn Lookup;
* otherwise
* set an errorcode.
*/
-void udata_checkCommonData(UDataMemory *pData, UErrorCode *pErrorCode);
-
+U_CFUNC void udata_checkCommonData(UDataMemory *pData, UErrorCode *pErrorCode);
#endif