Changeset 6260 for trunk/ppImage/src/ppFile.c
- Timestamp:
- Jan 30, 2006, 6:00:06 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppFile.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppFile.c
r6125 r6260 1 #include "ppImage.h" 1 #include <stdio.h> 2 #include "pslib.h" 3 #include "ppFile.h" 2 4 3 5 // Free a ppFile 4 static void ppFileFree(ppFile *file)6 static void fileFree(ppFile *file) 5 7 { 6 8 psFree(file->filename); … … 17 19 18 20 ppFile *file = psAlloc(sizeof(ppFile)); 19 psMemSetDeallocator(file, (psFreeFunc) ppFileFree);21 psMemSetDeallocator(file, (psFreeFunc)fileFree); 20 22 21 23 file->filename = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
