Changeset 541
- Timestamp:
- Apr 27, 2004, 4:51:39 PM (22 years ago)
- Location:
- trunk/psLib
- Files:
-
- 5 edited
-
psLib.kdevses (modified) (1 diff)
-
src/sys/psMemory.h (modified) (3 diffs)
-
src/sysUtils/psMemory.h (modified) (3 diffs)
-
test/Makefile (modified) (2 diffs)
-
test/sysUtils/Makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/psLib.kdevses
r515 r541 2 2 <!DOCTYPE KDevPrjSession> 3 3 <KDevPrjSession> 4 <DocsAndViews NumberOfDocuments=" 10" >5 <Doc0 NumberOfViews="1" URL="file:/home/desonia/psLib/ src/sysUtils/temp.c" >6 <View0 line=" 0" Type="???" >7 <AdditionalSettings Top="1" Width="1 125" Attach="1" Height="588" Left="1" MinMaxMode="0" />4 <DocsAndViews NumberOfDocuments="7" > 5 <Doc0 NumberOfViews="1" URL="file:/home/desonia/psLib/test/tstMemory.c" > 6 <View0 line="22" Type="???" > 7 <AdditionalSettings Top="1" Width="1532" Attach="1" Height="943" Left="1" MinMaxMode="0" /> 8 8 </View0> 9 9 </Doc0> 10 <Doc1 NumberOfViews="1" URL="file:/home/desonia/psLib/ test/temp.c" >11 <View0 line="1 9" Type="???" >12 <AdditionalSettings Top="1" Width="1 125" Attach="1" Height="559" Left="1" MinMaxMode="0" />10 <Doc1 NumberOfViews="1" URL="file:/home/desonia/psLib/src/sysUtils/psError.h" > 11 <View0 line="16" Type="???" > 12 <AdditionalSettings Top="1" Width="1532" Attach="1" Height="914" Left="1" MinMaxMode="0" /> 13 13 </View0> 14 14 </Doc1> 15 <Doc2 NumberOfViews="1" URL="file:/home/desonia/psLib/src/ Makefile.Globals" >16 <View0 line=" 0" Type="???" >17 <AdditionalSettings Top="1" Width="1 125" Attach="1" Height="559" Left="1" MinMaxMode="0" />15 <Doc2 NumberOfViews="1" URL="file:/home/desonia/psLib/src/sysUtils/psError.c" > 16 <View0 line="72" Type="???" > 17 <AdditionalSettings Top="1" Width="1217" Attach="1" Height="599" Left="1" MinMaxMode="0" /> 18 18 </View0> 19 19 </Doc2> 20 <Doc3 NumberOfViews="1" URL="file:/home/desonia/psLib/ test/psTest.c" >21 <View0 line=" 53" Type="???" >22 <AdditionalSettings Top="1" Width="1 125" Attach="1" Height="559" Left="1" MinMaxMode="0" />20 <Doc3 NumberOfViews="1" URL="file:/home/desonia/psLib/src/sysUtils/psTrace.h" > 21 <View0 line="0" Type="???" > 22 <AdditionalSettings Top="1" Width="1217" Attach="1" Height="599" Left="1" MinMaxMode="0" /> 23 23 </View0> 24 24 </Doc3> 25 <Doc4 context="" NumberOfViews="1" URL="man:/printf" >26 <View0 Type="???" >27 <AdditionalSettings Top="1" Width="1 125" Attach="1" Height="579" Left="1" MinMaxMode="0" />25 <Doc4 NumberOfViews="1" URL="file:/home/desonia/psLib/src/sysUtils/psLogMsg.h" > 26 <View0 line="16" Type="???" > 27 <AdditionalSettings Top="1" Width="1217" Attach="1" Height="599" Left="1" MinMaxMode="0" /> 28 28 </View0> 29 29 </Doc4> 30 <Doc5 context="" NumberOfViews="1" URL="man:/usr/share/man/man3/printf.3.gz" >31 <View0 Type="???" >32 <AdditionalSettings Top="1" Width="1 125" Attach="1" Height="579" Left="1" MinMaxMode="0" />30 <Doc5 NumberOfViews="1" URL="file:/home/desonia/psLib/src/sysUtils/psLogMsg.c" > 31 <View0 line="318" Type="???" > 32 <AdditionalSettings Top="1" Width="1217" Attach="1" Height="599" Left="1" MinMaxMode="0" /> 33 33 </View0> 34 34 </Doc5> 35 <Doc6 NumberOfViews="1" URL="file:/home/desonia/psLib/ test/psTest.h" >36 <View0 line=" 20" Type="???" >37 <AdditionalSettings Top="1" Width="1 125" Attach="1" Height="559" Left="1" MinMaxMode="0" />35 <Doc6 NumberOfViews="1" URL="file:/home/desonia/psLib/src/sysUtils/psMemory.c" > 36 <View0 line="413" Type="???" > 37 <AdditionalSettings Top="1" Width="1426" Attach="1" Height="714" Left="1" MinMaxMode="0" /> 38 38 </View0> 39 39 </Doc6> 40 <Doc7 NumberOfViews="1" URL="file:/home/desonia/psLib/src/sysUtils/psMemory.h" >41 <View0 line="171" Type="???" >42 <AdditionalSettings Top="1" Width="1125" Attach="1" Height="559" Left="1" MinMaxMode="0" />43 </View0>44 </Doc7>45 <Doc8 NumberOfViews="1" URL="file:/home/desonia/psLib/src/sysUtils/psString.c" >46 <View0 line="0" Type="???" >47 <AdditionalSettings Top="1" Width="1125" Attach="1" Height="559" Left="1" MinMaxMode="0" />48 </View0>49 </Doc8>50 <Doc9 NumberOfViews="1" URL="file:/home/desonia/psLib/src/sysUtils/psString.h" >51 <View0 line="0" Type="???" >52 <AdditionalSettings Top="1" Width="1125" Attach="1" Height="559" Left="1" MinMaxMode="0" />53 </View0>54 </Doc9>55 40 </DocsAndViews> 56 41 <pluginList> -
trunk/psLib/src/sys/psMemory.h
r476 r541 12 12 * @author Robert Lupton, Princeton University 13 13 * 14 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-04-2 0 03:11:51$14 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-04-28 02:51:39 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 60 60 61 61 /// Memory allocation. Underlying private function called by macro psAlloc. 62 void *p_psAlloc(size_t size, ///< Size required62 void* p_psAlloc(size_t size, ///< Size required 63 63 const char *file, ///< File of call 64 64 int lineno) ///< Line number of call … … 66 66 67 67 /// Memory re-allocation. Underlying private function called by macro psRealloc. 68 void *p_psRealloc(void *ptr, ///< Pointer to re-allocate68 void* p_psRealloc(void *ptr, ///< Pointer to re-allocate 69 69 size_t size, ///< Size required 70 70 const char *file, ///< File of call -
trunk/psLib/src/sysUtils/psMemory.h
r476 r541 12 12 * @author Robert Lupton, Princeton University 13 13 * 14 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-04-2 0 03:11:51$14 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-04-28 02:51:39 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 60 60 61 61 /// Memory allocation. Underlying private function called by macro psAlloc. 62 void *p_psAlloc(size_t size, ///< Size required62 void* p_psAlloc(size_t size, ///< Size required 63 63 const char *file, ///< File of call 64 64 int lineno) ///< Line number of call … … 66 66 67 67 /// Memory re-allocation. Underlying private function called by macro psRealloc. 68 void *p_psRealloc(void *ptr, ///< Pointer to re-allocate68 void* p_psRealloc(void *ptr, ///< Pointer to re-allocate 69 69 size_t size, ///< Size required 70 70 const char *file, ///< File of call -
trunk/psLib/test/Makefile
r526 r541 3 3 ## Makefile: test 4 4 ## 5 ## $Revision: 1. 1$ $Name: not supported by cvs2svn $6 ## $Date: 2004-04-2 7 02:20:28$5 ## $Revision: 1.2 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-04-28 02:51:39 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 27 27 # Set CFLAGS used by the implicit rule to compile .c 28 28 29 CFLAGS := $(CFLAGS_RELOC) 29 CFLAGS := $(CFLAGS_RELOC) -I../include 30 30 31 31 # Define the source objects -
trunk/psLib/test/sysUtils/Makefile
r532 r541 3 3 ## Makefile: test/sysUtils 4 4 ## 5 ## $Revision: 1. 2$ $Name: not supported by cvs2svn $6 ## $Date: 2004-04-2 7 22:57:09 $5 ## $Revision: 1.3 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-04-28 02:51:39 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 13 13 14 14 PSLIB_INCL_DIR = ../../include 15 16 15 PSLIB_LIB_DIR = ../../lib 17 16 18 17 TARGET = tst_psError \ 18 tstMemory \ 19 19 atst_psAbort_01 \ 20 20 atst_psAbort_02 \ … … 35 35 36 36 %.o : %.c 37 $(CC) $(CFLAGS) $(CPPFLAGS) -I $(PSLIB_INCL_DIR) -c -o $@ $<37 $(CC) $(CFLAGS) $(CPPFLAGS) -I.. -I$(PSLIB_INCL_DIR) -c -o $@ $< 38 38 39 39 % : %.o 40 $(CC) $(LDFLAGS) -L$(PSLIB_LIB_DIR) - lpslib -lpstest -o $@ $<40 $(CC) $(LDFLAGS) -L$(PSLIB_LIB_DIR) -L.. -lpslib -lpstest -o $@ $< 41 41 42 42 %.lint: %.c
Note:
See TracChangeset
for help on using the changeset viewer.
