Changeset 23740 for trunk/ppSub/src/ppSub.c
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/pap merged: 23690,23704,23711,23719,23723,23730-23735
- Property svn:mergeinfo changed
-
trunk/ppSub
- Property svn:mergeinfo changed
/branches/pap/ppSub merged: 23704,23711,23719,23723,23730,23732-23734
- Property svn:mergeinfo changed
-
trunk/ppSub/src
- Property svn:ignore
-
old new 10 10 stamp-h1 11 11 ppSubKernel 12 ppSubErrorCodes.h 13 ppSubErrorCodes.c
-
- Property svn:ignore
-
trunk/ppSub/src/ppSub.c
r23242 r23740 28 28 psLibInit(NULL); 29 29 30 ppSubData *data = NULL; // Processing data 30 31 pmConfig *config = pmConfigRead(&argc, argv, PPSUB_RECIPE); // Configuration 31 32 if (!config) { … … 49 50 } 50 51 51 if (!ppSubArgumentsSetup(argc, argv, config)) { 52 data = ppSubDataAlloc(); // Processing data 53 54 if (!ppSubArguments(argc, argv, config, data)) { 52 55 psErrorStackPrint(stderr, "Error reading arguments.\n"); 53 56 exitValue = PS_EXIT_CONFIG_ERROR; … … 55 58 } 56 59 57 if (!ppSubCamera(config )) {60 if (!ppSubCamera(config, data)) { 58 61 psErrorStackPrint(stderr, "Error setting up camera.\n"); 59 62 exitValue = PS_EXIT_CONFIG_ERROR; … … 61 64 } 62 65 63 if (!ppSubArgumentsParse(config)) { 64 psErrorStackPrint(stderr, "Error reading arguments.\n"); 65 exitValue = PS_EXIT_CONFIG_ERROR; 66 goto die; 67 } 68 69 if (!ppSubLoop(config)) { 66 if (!ppSubLoop(config, data)) { 70 67 psErrorStackPrint(stderr, "Error performing subtraction.\n"); 71 68 exitValue = PS_EXIT_SYS_ERROR; … … 77 74 psTimerStop(); 78 75 76 psFree(data); 77 psFree(config); 78 79 79 pmVisualClose(); //close plot windows, if -visual is set 80 psFree(config);81 80 pmModelClassCleanup(); 82 81 pmConfigDone();
Note:
See TracChangeset
for help on using the changeset viewer.
