2
Copyright (C) 2002 John R. Hall
4
This program is free software; you can redistribute it and/or
5
modify it under the terms of the GNU General Public License
6
as published by the Free Software Foundation; either version 2
7
of the License, or (at your option) any later version.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
See the GNU General Public License for more details.
15
You should have received a copy of the GNU General Public License
16
along with this program; if not, write to the Free Software
17
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
//***************************************************************************
22
// byteordr.c - Byte order conversion routines.
24
//***************************************************************************
26
typedef void (*converter_t)(void *, int);
28
#define DECLARE_CONVERTER(type) void Cvt_##type(void *lmp, int num);
30
DECLARE_CONVERTER(pic_t);
31
DECLARE_CONVERTER(lpic_t);
32
DECLARE_CONVERTER(font_t);
33
DECLARE_CONVERTER(lbm_t);
34
DECLARE_CONVERTER(patch_t);
35
DECLARE_CONVERTER(transpatch_t);
36
DECLARE_CONVERTER(cfont_t);
37
void CvtNull(void *lmp, int num);
38
void CvtFixme(void *lmp, int num);