ICU-4078 Make sure the cleanup function definition works in C++
X-SVN-Rev: 16306
This commit is contained in:
parent
6fe68cb5ba
commit
8066f2dfe3
@ -57,7 +57,9 @@ typedef enum ECleanupLibraryType {
|
||||
UCLN_COMMON /* This must be the last one to cleanup. */
|
||||
} ECleanupLibraryType;
|
||||
|
||||
typedef UBool cleanupFunc(void);
|
||||
U_CDECL_BEGIN
|
||||
typedef UBool U_CALLCONV cleanupFunc(void);
|
||||
U_CDECL_END
|
||||
|
||||
U_CAPI void U_EXPORT2 ucln_registerCleanup(ECleanupLibraryType type,
|
||||
cleanupFunc *func);
|
||||
|
Loading…
Reference in New Issue
Block a user