mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-08 18:30:18 +00:00
Update.
2000-06-12 Ulrich Drepper <drepper@redhat.com> * iconv/gconv.h (__gconv_trans_context_fct): Remove two parameters. * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it exists.
This commit is contained in:
parent
30010c6399
commit
4d37e19c34
@ -1,3 +1,10 @@
|
||||
2000-06-12 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* iconv/gconv.h (__gconv_trans_context_fct): Remove two
|
||||
parameters.
|
||||
* iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
|
||||
exists.
|
||||
|
||||
2000-06-12 Jes Sorensen <jes@linuxcare.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
|
||||
|
@ -87,9 +87,7 @@ typedef int (*__gconv_trans_fct) (struct __gconv_step *step,
|
||||
typedef int (*__gconv_trans_context_fct) (struct __gconv_trans_data *data,
|
||||
__const unsigned char *,
|
||||
__const unsigned char *,
|
||||
__const unsigned char *,
|
||||
unsigned char *, unsigned char *,
|
||||
unsigned char *);
|
||||
unsigned char *, unsigned char *);
|
||||
|
||||
/* Function to query module about supported encoded character sets. */
|
||||
typedef int (*__gconv_trans_query_fct) (__const char **, size_t *);
|
||||
|
@ -412,6 +412,13 @@ FUNCTION_NAME (struct __gconv_step *step, struct __gconv_step_data *data,
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Give the transliteration module the chance to store the
|
||||
original text and the result in case it needs a context. */
|
||||
if (data->__trans.__trans_context_fct != NULL)
|
||||
DL_CALL_FCT (data->__trans.__trans_context_fct,
|
||||
(data->__trans.__data, inptr, *inptrp,
|
||||
outstart, outbuf));
|
||||
|
||||
/* We finished one use of the loops. */
|
||||
++data->__invocation_counter;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user