diff options
Diffstat (limited to 'doc/api-documentation/html/swbyteswap_8h-source.html')
-rw-r--r-- | doc/api-documentation/html/swbyteswap_8h-source.html | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/doc/api-documentation/html/swbyteswap_8h-source.html b/doc/api-documentation/html/swbyteswap_8h-source.html deleted file mode 100644 index b305334..0000000 --- a/doc/api-documentation/html/swbyteswap_8h-source.html +++ /dev/null @@ -1,67 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> -<title>swbyteswap.h Source File</title> -<link href="doxygen.css" rel="stylesheet" type="text/css"> -</head><body bgcolor="#ffffff"> -<!-- Generated by Doxygen 1.2.9.1 --> -<center> -<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> </center> -<hr><h1>swbyteswap.h</h1><div class="fragment"><pre>00001 <font class="comment">/******************************************************************************</font> -00002 <font class="comment"> * swkey.h - macros for byteswapping necessary for big endian cpus (or not)</font> -00003 <font class="comment"> *</font> -00004 <font class="comment"> * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)</font> -00005 <font class="comment"> * CrossWire Bible Society</font> -00006 <font class="comment"> * P. O. Box 2528</font> -00007 <font class="comment"> * Tempe, AZ 85280-2528</font> -00008 <font class="comment"> *</font> -00009 <font class="comment"> * This program is free software; you can redistribute it and/or modify it</font> -00010 <font class="comment"> * under the terms of the GNU General Public License as published by the</font> -00011 <font class="comment"> * Free Software Foundation version 2.</font> -00012 <font class="comment"> *</font> -00013 <font class="comment"> * This program is distributed in the hope that it will be useful, but</font> -00014 <font class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</font> -00015 <font class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</font> -00016 <font class="comment"> * General Public License for more details.</font> -00017 <font class="comment"> *</font> -00018 <font class="comment"> */</font> -00019 -00020 <font class="preprocessor">#ifndef SWBYTESWAP_H</font> -00021 <font class="preprocessor"></font><font class="preprocessor">#define SWBYTESWAP_H</font> -00022 <font class="preprocessor"></font> -00023 <font class="preprocessor">#ifdef BIGENDIAN</font> -00024 <font class="preprocessor"></font><font class="preprocessor">#ifdef MACOSX</font> -00025 <font class="preprocessor"></font> -00026 <font class="preprocessor">#include <architecture/byte_order.h></font> -00027 <font class="preprocessor">#define SWAP32(x) NXSwapLittleLongToHost(x)</font> -00028 <font class="preprocessor"></font><font class="preprocessor">#define SWAP16(x) NXSwapLittleShortToHost(x)</font> -00029 <font class="preprocessor"></font> -00030 <font class="preprocessor">#else</font> -00031 <font class="preprocessor"></font><font class="preprocessor">#ifdef SPARC_SOLARIS</font> -00032 <font class="preprocessor"></font> -00033 <font class="preprocessor">#include <sys/pctypes.h></font> -00034 <font class="preprocessor">#define SWAP32(x) lelong(x)</font> -00035 <font class="preprocessor"></font><font class="preprocessor">#define SWAP16(x) leshort(x)</font> -00036 <font class="preprocessor"></font> -00037 <font class="preprocessor">#else // all big endian GNU systems</font> -00038 <font class="preprocessor"></font> -00039 <font class="preprocessor">#include <byteswap.h></font> -00040 <font class="preprocessor">#define SWAP32(x) bswap_32(x)</font> -00041 <font class="preprocessor"></font><font class="preprocessor">#define SWAP16(x) bswap_16(x)</font> -00042 <font class="preprocessor"></font> -00043 <font class="preprocessor">#endif</font> -00044 <font class="preprocessor"></font><font class="preprocessor">#endif</font> -00045 <font class="preprocessor"></font><font class="preprocessor">#else //little endian</font> -00046 <font class="preprocessor"></font> -00047 <font class="preprocessor">#define SWAP32(x) x</font> -00048 <font class="preprocessor"></font><font class="preprocessor">#define SWAP16(x) x</font> -00049 <font class="preprocessor"></font> -00050 <font class="preprocessor">#endif</font> -00051 <font class="preprocessor"></font><font class="preprocessor">#endif</font> -00052 <font class="preprocessor"></font> -</pre></div><hr><address><small>Generated at Tue Jan 22 14:52:48 2002 for The Sword Project by -<a href="http://www.doxygen.org/index.html"> -<img src="doxygen.gif" alt="doxygen" align="middle" border=0 -width=110 height=53></a>1.2.9.1 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, - © 1997-2001</small></address> -</body> -</html> |