Changeset 1440 for trunk/psLib/src/collections/psScalar.c
- Timestamp:
- Aug 9, 2004, 1:34:58 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psScalar.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psScalar.c
r1407 r1440 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-08-0 7 00:06:06$11 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-08-09 23:34:57 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 71 71 72 72 /*****************************************************************************/ 73 psScalar *psScalarAlloc(psC64 value, psElemType dataType)73 psScalar* psScalarAlloc(psC64 value, psElemType dataType) 74 74 { 75 psScalar *scalar = NULL;75 psScalar* scalar = NULL; 76 76 77 77 // Create scalar 78 scalar = (psScalar *) psAlloc(sizeof(psScalar));78 scalar = (psScalar* ) psAlloc(sizeof(psScalar)); 79 79 if (scalar == NULL) { 80 80 psAbort(__func__, " : Line %d - Failed to allocate memory", __LINE__); … … 128 128 } 129 129 130 void psScalarFree(psScalar * restrict scalar)130 void psScalarFree(psScalar* restrict scalar) 131 131 { 132 132 if (scalar == NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.
