Changeset 1162 for trunk/psLib/src/collections/psScalar.c
- Timestamp:
- Jun 30, 2004, 2:14:40 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
r1063 r1162 8 8 * @author Ross Harman, MHPCC 9 9 * 10 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $11 * @date $Date: 2004-0 6-19 01:59:51$10 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2004-07-01 00:14:40 $ 12 12 * 13 13 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 21 21 #include "psScalar.h" 22 22 #include "psLogMsg.h" 23 #include "psAbort.h" 23 24 24 25 /******************************************************************************/ … … 61 62 // Create scalar 62 63 scalar = (psScalar *)psAlloc(sizeof(psScalar)); 64 if(scalar == NULL) { 65 psAbort(__func__," : Line %d - Failed to allocate memory", __LINE__); 66 } 67 63 68 scalar->type.dimen = PS_DIMEN_SCALAR; 64 69 scalar->type.type = dataType;
Note:
See TracChangeset
for help on using the changeset viewer.
