Deleted Added
full compact
citrus_iconv.h (252547) citrus_iconv.h (281550)
1/* $FreeBSD: head/lib/libc/iconv/citrus_iconv.h 252547 2013-07-03 07:03:19Z peter $ */
1/* $FreeBSD: head/lib/libc/iconv/citrus_iconv.h 281550 2015-04-15 09:09:20Z tijl $ */
2/* $NetBSD: citrus_iconv.h,v 1.5 2008/02/09 14:56:20 junyoung Exp $ */
3
4/*-
5 * Copyright (c)2003 Citrus Project,
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 37 unchanged lines hidden (view full) ---

47#define _CITRUS_ICONV_F_HIDE_INVALID 0x0001
48
49/*
50 * _citrus_iconv_convert:
51 * convert a string.
52 */
53static __inline int
54_citrus_iconv_convert(struct _citrus_iconv * __restrict cv,
2/* $NetBSD: citrus_iconv.h,v 1.5 2008/02/09 14:56:20 junyoung Exp $ */
3
4/*-
5 * Copyright (c)2003 Citrus Project,
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 37 unchanged lines hidden (view full) ---

47#define _CITRUS_ICONV_F_HIDE_INVALID 0x0001
48
49/*
50 * _citrus_iconv_convert:
51 * convert a string.
52 */
53static __inline int
54_citrus_iconv_convert(struct _citrus_iconv * __restrict cv,
55 const char * __restrict * __restrict in, size_t * __restrict inbytes,
55 char * __restrict * __restrict in, size_t * __restrict inbytes,
56 char * __restrict * __restrict out, size_t * __restrict outbytes,
57 uint32_t flags, size_t * __restrict nresults)
58{
59
60 return (*cv->cv_shared->ci_ops->io_convert)(cv, in, inbytes, out,
61 outbytes, flags, nresults);
62}
63
64#endif
56 char * __restrict * __restrict out, size_t * __restrict outbytes,
57 uint32_t flags, size_t * __restrict nresults)
58{
59
60 return (*cv->cv_shared->ci_ops->io_convert)(cv, in, inbytes, out,
61 outbytes, flags, nresults);
62}
63
64#endif