scuffed-code/icu4c/source/extra/ustdio/uprntf_p.h

49 lines
1.3 KiB
C
Raw Normal View History

1999-08-16 21:50:52 +00:00
/*
******************************************************************************
*
* Copyright (C) 1998-2003, International Business Machines
* Corporation and others. All Rights Reserved.
*
******************************************************************************
1999-08-16 21:50:52 +00:00
*
* File uprntf_p.h
*
* Modification History:
*
* Date Name Description
* 12/02/98 stephen Creation.
* 03/12/99 stephen Modified for new C API.
******************************************************************************
1999-08-16 21:50:52 +00:00
*/
#ifndef UPRNTF_P_H
#define UPRNTF_P_H
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
1999-08-16 21:50:52 +00:00
#include "uprintf.h"
#define UP_PERCENT 0x0025
1999-08-16 21:50:52 +00:00
/**
* Parse a single u_printf format specifier.
* @param fmt A pointer to a '%' character in a u_printf format specification.
* @param spec A pointer to a <TT>u_printf_spec</TT> to receive the parsed
* format specifier.
* @return The number of characters contained in this specifier.
*/
int32_t
u_printf_print_spec(const u_printf_stream_handler *streamHandler,
const UChar *fmt,
void *context,
ULocaleBundle *formatBundle,
int32_t patCount,
int32_t *written,
va_list *ap);
1999-08-16 21:50:52 +00:00
#endif /* #if !UCONFIG_NO_FORMATTING */
1999-08-16 21:50:52 +00:00
#endif