Tesseract
3.02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
serialis.h
Go to the documentation of this file.
1
/**********************************************************************
2
* File: serialis.h (Formerly serialmac.h)
3
* Description: Inline routines and macros for serialisation functions
4
* Author: Phil Cheatle
5
* Created: Tue Oct 08 08:33:12 BST 1991
6
*
7
* (C) Copyright 1990, Hewlett-Packard Ltd.
8
** Licensed under the Apache License, Version 2.0 (the "License");
9
** you may not use this file except in compliance with the License.
10
** You may obtain a copy of the License at
11
** http://www.apache.org/licenses/LICENSE-2.0
12
** Unless required by applicable law or agreed to in writing, software
13
** distributed under the License is distributed on an "AS IS" BASIS,
14
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
** See the License for the specific language governing permissions and
16
** limitations under the License.
17
*
18
**********************************************************************/
19
20
#ifndef SERIALIS_H
21
#define SERIALIS_H
22
23
#include <stdlib.h>
24
#include <string.h>
25
#include <stdio.h>
26
#include "
memry.h
"
27
#include "
errcode.h
"
28
#include "
fileerr.h
"
29
30
// Switch endinan.
31
extern
DLLSYM
uinT64
reverse64
(
uinT64
);
32
extern
DLLSYM
uinT32
reverse32
(
uinT32
);
33
extern
DLLSYM
uinT16
reverse16
(
uinT16
);
34
35
/***********************************************************************
36
QUOTE_IT MACRO DEFINITION
37
===========================
38
Replace <parm> with "<parm>". <parm> may be an arbitrary number of tokens
39
***********************************************************************/
40
41
#define QUOTE_IT( parm ) #parm
42
43
#endif
mnt
data
src
tesseract-ocr
ccutil
serialis.h
Generated on Thu Nov 1 2012 20:19:45 for Tesseract by
1.8.1