citrus_mapper_local.h (219019) | citrus_mapper_local.h (250938) |
---|---|
1/* $FreeBSD: head/lib/libc/iconv/citrus_mapper_local.h 219019 2011-02-25 00:04:39Z gabor $ */ | 1/* $FreeBSD: head/lib/libc/iconv/citrus_mapper_local.h 250938 2013-05-23 18:07:01Z ed $ */ |
2/* $NetBSD: citrus_mapper_local.h,v 1.2 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) --- 47static int _citrus_##_m_##_mapper_convert \ 48 (struct _citrus_mapper * __restrict, \ 49 _citrus_index_t * __restrict, _citrus_index_t, \ 50 void * __restrict); \ 51static void _citrus_##_m_##_mapper_init_state \ 52 (void); 53 54#define _CITRUS_MAPPER_DEF_OPS(_m_) \ | 2/* $NetBSD: citrus_mapper_local.h,v 1.2 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) --- 47static int _citrus_##_m_##_mapper_convert \ 48 (struct _citrus_mapper * __restrict, \ 49 _citrus_index_t * __restrict, _citrus_index_t, \ 50 void * __restrict); \ 51static void _citrus_##_m_##_mapper_init_state \ 52 (void); 53 54#define _CITRUS_MAPPER_DEF_OPS(_m_) \ |
55extern struct _citrus_mapper_ops _citrus_##_m_##_mapper_ops; \ |
|
55struct _citrus_mapper_ops _citrus_##_m_##_mapper_ops = { \ 56 /* mo_init */ &_citrus_##_m_##_mapper_init, \ 57 /* mo_uninit */ &_citrus_##_m_##_mapper_uninit, \ 58 /* mo_convert */ &_citrus_##_m_##_mapper_convert, \ 59 /* mo_init_state */ &_citrus_##_m_##_mapper_init_state \ 60} 61 62typedef _CITRUS_MAPPER_GETOPS_FUNC_BASE((*_citrus_mapper_getops_t)); --- 34 unchanged lines hidden --- | 56struct _citrus_mapper_ops _citrus_##_m_##_mapper_ops = { \ 57 /* mo_init */ &_citrus_##_m_##_mapper_init, \ 58 /* mo_uninit */ &_citrus_##_m_##_mapper_uninit, \ 59 /* mo_convert */ &_citrus_##_m_##_mapper_convert, \ 60 /* mo_init_state */ &_citrus_##_m_##_mapper_init_state \ 61} 62 63typedef _CITRUS_MAPPER_GETOPS_FUNC_BASE((*_citrus_mapper_getops_t)); --- 34 unchanged lines hidden --- |