citrus_iconv_local.h (219019) | citrus_iconv_local.h (250938) |
---|---|
1/* $FreeBSD: head/lib/libc/iconv/citrus_iconv_local.h 219019 2011-02-25 00:04:39Z gabor $ */ | 1/* $FreeBSD: head/lib/libc/iconv/citrus_iconv_local.h 250938 2013-05-23 18:07:01Z ed $ */ |
2/* $NetBSD: citrus_iconv_local.h,v 1.3 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 --- 42 unchanged lines hidden (view full) --- 52 uint32_t, size_t * __restrict); \ 53static int _citrus_##_m_##_iconv_init_context \ 54 (struct _citrus_iconv *); \ 55static void _citrus_##_m_##_iconv_uninit_context \ 56 (struct _citrus_iconv *) 57 58 59#define _CITRUS_ICONV_DEF_OPS(_m_) \ | 2/* $NetBSD: citrus_iconv_local.h,v 1.3 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 --- 42 unchanged lines hidden (view full) --- 52 uint32_t, size_t * __restrict); \ 53static int _citrus_##_m_##_iconv_init_context \ 54 (struct _citrus_iconv *); \ 55static void _citrus_##_m_##_iconv_uninit_context \ 56 (struct _citrus_iconv *) 57 58 59#define _CITRUS_ICONV_DEF_OPS(_m_) \ |
60extern struct _citrus_iconv_ops _citrus_##_m_##_iconv_ops; \ |
|
60struct _citrus_iconv_ops _citrus_##_m_##_iconv_ops = { \ 61 /* io_init_shared */ &_citrus_##_m_##_iconv_init_shared, \ 62 /* io_uninit_shared */ &_citrus_##_m_##_iconv_uninit_shared, \ 63 /* io_init_context */ &_citrus_##_m_##_iconv_init_context, \ 64 /* io_uninit_context */ &_citrus_##_m_##_iconv_uninit_context, \ 65 /* io_convert */ &_citrus_##_m_##_iconv_convert \ 66} 67 --- 40 unchanged lines hidden --- | 61struct _citrus_iconv_ops _citrus_##_m_##_iconv_ops = { \ 62 /* io_init_shared */ &_citrus_##_m_##_iconv_init_shared, \ 63 /* io_uninit_shared */ &_citrus_##_m_##_iconv_uninit_shared, \ 64 /* io_init_context */ &_citrus_##_m_##_iconv_init_context, \ 65 /* io_uninit_context */ &_citrus_##_m_##_iconv_uninit_context, \ 66 /* io_convert */ &_citrus_##_m_##_iconv_convert \ 67} 68 --- 40 unchanged lines hidden --- |