Changeset 2228 for trunk/psLib/src/dataManip/psConstants.h
- Timestamp:
- Oct 28, 2004, 12:47:00 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/dataManip/psConstants.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psConstants.h
r2224 r2228 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1. 29$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-10-28 00:22:53$8 * @version $Revision: 1.30 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-10-28 22:46:57 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 208 208 p_psMemSetPersistent(NAME->data.V, true); \ 209 209 210 #define PS_VECTOR_DECLARE_ALLOC_STATIC(NAME, SIZE, TYPE) \ 211 static psVector *NAME = NULL; \ 212 if (NAME == NULL) { \ 213 NAME = psVectorAlloc(SIZE, TYPE); \ 214 p_psMemSetPersistent(NAME, true); \ 215 } \ 210 216 211 217
Note:
See TracChangeset
for help on using the changeset viewer.
