citrus_stdenc_local.h (219019) | citrus_stdenc_local.h (250938) |
---|---|
1/* $FreeBSD: head/lib/libc/iconv/citrus_stdenc_local.h 219019 2011-02-25 00:04:39Z gabor $ */ | 1/* $FreeBSD: head/lib/libc/iconv/citrus_stdenc_local.h 250938 2013-05-23 18:07:01Z ed $ */ |
2/* $NetBSD: citrus_stdenc_local.h,v 1.4 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 --- 69 unchanged lines hidden (view full) --- 79 char * __restrict, size_t, void * __restrict, \ 80 size_t * __restrict); \ 81static int _citrus_##_e_##_stdenc_get_state_desc \ 82 (struct _citrus_stdenc * __restrict, \ 83 void * __restrict, int, \ 84 struct _citrus_stdenc_state_desc * __restrict) 85 86#define _CITRUS_STDENC_DEF_OPS(_e_) \ | 2/* $NetBSD: citrus_stdenc_local.h,v 1.4 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 --- 69 unchanged lines hidden (view full) --- 79 char * __restrict, size_t, void * __restrict, \ 80 size_t * __restrict); \ 81static int _citrus_##_e_##_stdenc_get_state_desc \ 82 (struct _citrus_stdenc * __restrict, \ 83 void * __restrict, int, \ 84 struct _citrus_stdenc_state_desc * __restrict) 85 86#define _CITRUS_STDENC_DEF_OPS(_e_) \ |
87extern struct _citrus_stdenc_ops _citrus_##_e_##_stdenc_ops; \ |
|
87struct _citrus_stdenc_ops _citrus_##_e_##_stdenc_ops = { \ 88 /* eo_init */ &_citrus_##_e_##_stdenc_init, \ 89 /* eo_uninit */ &_citrus_##_e_##_stdenc_uninit, \ 90 /* eo_init_state */ &_citrus_##_e_##_stdenc_init_state, \ 91 /* eo_mbtocs */ &_citrus_##_e_##_stdenc_mbtocs, \ 92 /* eo_cstomb */ &_citrus_##_e_##_stdenc_cstomb, \ 93 /* eo_mbtowc */ &_citrus_##_e_##_stdenc_mbtowc, \ 94 /* eo_wctomb */ &_citrus_##_e_##_stdenc_wctomb, \ --- 67 unchanged lines hidden --- | 88struct _citrus_stdenc_ops _citrus_##_e_##_stdenc_ops = { \ 89 /* eo_init */ &_citrus_##_e_##_stdenc_init, \ 90 /* eo_uninit */ &_citrus_##_e_##_stdenc_uninit, \ 91 /* eo_init_state */ &_citrus_##_e_##_stdenc_init_state, \ 92 /* eo_mbtocs */ &_citrus_##_e_##_stdenc_mbtocs, \ 93 /* eo_cstomb */ &_citrus_##_e_##_stdenc_cstomb, \ 94 /* eo_mbtowc */ &_citrus_##_e_##_stdenc_mbtowc, \ 95 /* eo_wctomb */ &_citrus_##_e_##_stdenc_wctomb, \ --- 67 unchanged lines hidden --- |