/[public]/psiconv/trunk/lib/psiconv/general.h.in
ViewVC logotype

Contents of /psiconv/trunk/lib/psiconv/general.h.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 184 - (show annotations)
Tue Jan 6 20:15:01 2004 UTC (20 years, 2 months ago) by frodo
File size: 1485 byte(s)
(Frodo) Unicode transition

Note: this commit breaks psiconv. The programs in the extra directory should
work properly.

  * Change all datastructures to use unicode for character encodings
  * Added psiconv_error function
  * Called psiconv_error at places where a warning was stupid
  * Added psiconv_progress in all generate functions
  * Added lev parameter to all generate functions
  * Removed general.h from CVS (we have general.h.in, after all)
  * Probably other stuff I forgot

1 /*
2 data.h - Part of psiconv, a PSION 5 file formats converter
3 Copyright (c) 1999 Frodo Looijaard <frodol@dds.nl>
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
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., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19
20 /* All declarations which you may need to edit are here. At a later time,
21 this will be superseded by some automatic configuration script. */
22
23 #ifndef PSICONV_GENERAL_H
24 #define PSICONV_GENERAL_H
25
26 /* Data types; s8 means `signed 8-bit integer', u32 means `unsigned 32-bits
27 integer'. Configure figures out which types to use.
28 */
29
30 typedef signed @INT_8_BIT@ psiconv_s8;
31 typedef unsigned @INT_8_BIT@ psiconv_u8;
32
33 typedef signed @INT_16_BIT@ psiconv_s16;
34 typedef unsigned @INT_16_BIT@ psiconv_u16;
35
36 typedef signed @INT_32_BIT@ psiconv_s32;
37 typedef unsigned @INT_32_BIT@ psiconv_u32;
38
39 typedef psiconv_u16 psiconv_ucs2;
40
41 #endif /* def PSICONV_GENERAL_H */

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26