home *** CD-ROM | disk | FTP | other *** search
- /* $XConsortium: sgen.ci,v 5.2 91/02/16 09:57:44 rws Exp $ */
-
- /***********************************************************
- Copyright 1989, 1990, 1991 by Sun Microsystems, Inc. and the X Consortium.
-
- All Rights Reserved
-
- Permission to use, copy, modify, and distribute this software and its
- documentation for any purpose and without fee is hereby granted,
- provided that the above copyright notice appear in all copies and that
- both that copyright notice and this permission notice appear in
- supporting documentation, and that the names of Sun Microsystems,
- the X Consortium, and MIT not be used in advertising or publicity
- pertaining to distribution of the software without specific, written
- prior permission.
-
- SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT
- SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
- DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
- WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
- ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
- SOFTWARE.
-
- ******************************************************************/
-
- /*
- for the PEX-SI, don't do non-conversions
- */
-
- /*
- * sgen.ci - Generates byte swapping functions
- */
-
- /* Copyright 1988-1991
- * Center for Information Technology Integration (CITI)
- * Information Technology Division
- * University of Michigan
- * Ann Arbor, Michigan
- *
- * All Rights Reserved
- *
- * Permission to use, copy, modify, and distribute this software and
- * its documentation for any purpose and without fee is hereby
- * granted, provided that the above copyright notice appear in all
- * copies and that both that copyright notice and this permission
- * notice appear in supporting documentation, and that the names of
- * CITI or THE UNIVERSITY OF MICHIGAN not be used in advertising or
- * publicity pertaining to distribution of the software without
- * specific, written prior permission.
- *
- * THE SOFTWARE IS PROVIDED "AS IS." CITI AND THE UNIVERSITY OF
- * MICHIGAN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
- * NO EVENT SHALL CITI OR THE UNIVERSITY OF MICHIGAN BE LIABLE FOR ANY
- * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
- * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
- * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
- * SOFTWARE.
- */
- /*****************************************************************
- * TAG( sgen.ci )
- *
- * This spits out the four include statements necessary to make
- * two functions which operate in a byte-swapped environment.
- * The first function is not byte-swapped, while the second one
- * is.
- *
- * Inputs:
- * SWAP_FILE is defined beforehand as the quoted name of the file
- * which contains the function template.
- * Outputs:
- * Output from here is simply four #include statements, two for
- * each function; however these are expanded by the preprocessor
- * into two different functions.
- * Assumptions:
- * SWAP_FILE has been #defined to the function template file
- * name, in quotes, just before inclusion of this file.
- * Algorithm:
- * ...
- */
-
- #ifndef pswapConvFloatc
- #include "swapmacros.h"
- #endif
-
- /*
- #include "NoConv.ci"
- #include SWAP_FILE
- */
-
- #include "OnlySwap.ci"
- #include SWAP_FILE
-