Logo Search packages:      
Sourcecode: icu version File versions

U_STABLE UBool U_EXPORT2 ucurr_unregister ( UCurrRegistryKey  key,
UErrorCode status 
)

Unregister the previously-registered currency definitions using the URegistryKey returned from ucurr_register. Key becomes invalid after a successful call and should not be used again. Any currency that might have been hidden by the original ucurr_register call is restored.

Parameters:
key the registry key returned by a previous call to ucurr_register
status the in/out status code, no special meanings are assigned
Returns:
TRUE if the currency for this key was successfully unregistered ICU 2.6

Definition at line 346 of file ucurr.cpp.

References FALSE, and U_SUCCESS.

{
    if (status && U_SUCCESS(*status)) {
        return CReg::unreg(key);
    }
    return FALSE;
}


Generated by  Doxygen 1.6.0   Back to index