IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 6, 2004, 2:06:06 PM (22 years ago)
Author:
desonia
Message:

another attempt to get astyle to get it right.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psScalar.h

    r1406 r1407  
     1
    12/** @file  psScalar.h
    23 *
     
    1011 *  @author Ross Harman, MHPCC
    1112 *
    12  *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2004-08-06 22:34:05 $
     13 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2004-08-07 00:06:06 $
    1415 *
    1516 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1718
    1819#ifndef PS_SCALAR_H
    19 #define PS_SCALAR_H
     20#    define PS_SCALAR_H
    2021
    21 #include "psType.h"
     22#    include "psType.h"
    2223
    2324/// @addtogroup Scalar
     
    3132typedef struct
    3233{
    33     psType type;                       ///< Type of data.
     34    psType type;                // /< Type of data.
    3435
    3536    union {
    36         psU8    U8;                    ///< Unsigned 8-bit integer data.
    37         psU16   U16;                   ///< Unsigned 16-bit integer data.
    38         psU32   U32;                   ///< Unsigned 32-bit integer data.
    39         psU64   U64;                   ///< Unsigned 64-bit integer data.
    40         psS8    S8;                    ///< Signed 8-bit integer data.
    41         psS16   S16;                   ///< Signed 16-bit integer data.
    42         psS32   S32;                   ///< Signed 32-bit integer data.
    43         psS64   S64;                   ///< Signed 64-bit integer data.
    44         psF32   F32;                   ///< Single-precision float data.
    45         psF64   F64;                   ///< Double-precision float data.
    46         psC32   C32;                   ///< Single-precision complex data.
    47         psC64   C64;                   ///< Double-precision complex data.
    48     } data;                            ///< Union for data types.
     37        psU8 U8;                // /< Unsigned 8-bit integer data.
     38        psU16 U16;              // /< Unsigned 16-bit integer data.
     39        psU32 U32;              // /< Unsigned 32-bit integer data.
     40        psU64 U64;              // /< Unsigned 64-bit integer data.
     41        psS8 S8;                // /< Signed 8-bit integer data.
     42        psS16 S16;              // /< Signed 16-bit integer data.
     43        psS32 S32;              // /< Signed 32-bit integer data.
     44        psS64 S64;              // /< Signed 64-bit integer data.
     45        psF32 F32;              // /< Single-precision float data.
     46        psF64 F64;              // /< Double-precision float data.
     47        psC32 C32;              // /< Single-precision complex data.
     48        psC64 C64;              // /< Double-precision complex data.
     49    } data;                     // /< Union for data types.
    4950}
    5051psScalar;
    5152
    5253/*****************************************************************************/
     54
    5355/* FUNCTION PROTOTYPES                                                       */
     56
    5457/*****************************************************************************/
    5558
     
    6265 *
    6366 */
    64 psScalar *psScalarAlloc(
    65     psC64 value,            ///< Data to be put into psScalar.
    66     psElemType dataType     ///< Type of data to be held by psScalar.
    67 );
    68 
     67psScalar *psScalarAlloc(psC64 value,    // /< Data to be put into psScalar.
     68                        psElemType dataType     // /< Type of data to be held by psScalar.
     69                       );
    6970
    7071/** Deallocate a scalar.
     
    7576 *
    7677 */
    77 void psScalarFree(
    78     psScalar *restrict scalar  ///< Scalar to free.
    79 );
     78void psScalarFree(psScalar * restrict scalar    // /< Scalar to free.
     79                 );
    8080
    8181/// @}
Note: See TracChangeset for help on using the changeset viewer.