Changeset 2006 for trunk/psLib/src/collections/psVector.c
- Timestamp:
- Oct 7, 2004, 9:51:30 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psVector.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psVector.c
r1920 r2006 10 10 * @author Robert DeSonia, MHPCC 11 11 * 12 * @version $Revision: 1.2 7$ $Name: not supported by cvs2svn $13 * @date $Date: 2004- 09-28 23:26:48$12 * @version $Revision: 1.28 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-10-07 19:51:30 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 96 96 } 97 97 98 if (in->type.dimen != PS_DIMEN_VECTOR && 99 in->type.dimen != PS_DIMEN_TRANSV) { 100 psFree(in); 101 psErrorMsg(PS_ERRORNAME_DOMAIN "psVectorRecycle", 102 PS_ERR_BAD_PARAMETER_TYPE, true, 103 PS_ERRORTEXT_psVector_NOT_A_VECTOR); 104 return NULL; 105 } 106 98 107 byteSize = n * PSELEMTYPE_SIZEOF(type); 99 108 … … 104 113 } 105 114 115 in->type.dimen = PS_DIMEN_VECTOR; 106 116 in->type.type = type; 107 117 in->n = n; 108 109 118 return in; 110 119 }
Note:
See TracChangeset
for help on using the changeset viewer.
