IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 5, 2007, 3:08:13 PM (19 years ago)
Author:
Paul Price
Message:

Adding maskVal parameter to ppStats so that when it's called as a library function, it uses the nominated maskVal rather than it's own (which may be completely different from what the parent program may think it should mask).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStats/src/ppStatsSetupFromRecipe.c

    r13603 r13658  
    1414// Strings in a recipe may be defined multiply (with MULTI) or listed on a single line
    1515static void listFromRecipe(psList *target, // The target list
    16                            const psMetadata *recipe, // Recipe to search
     16                           const psMetadata *recipe, // Recipe to search
    1717                           const char *name // Name for item within recipe
    1818    )
     
    6565
    6666
    67 ppStatsData *ppStatsSetupFromRecipe(ppStatsData *data, // Data for running ppStats
    68                                     pmConfig *config // Configuration
     67bool ppStatsSetupFromRecipe(ppStatsData *data, // Data for running ppStats
     68                            pmConfig *config // Configuration
    6969    )
    7070{
    71     if (!data) {
    72         data = ppStatsDataAlloc();
    73     }
     71    PS_ASSERT_PTR_NON_NULL(data, false);
     72    PS_ASSERT_PTR_NON_NULL(config, false);
    7473
    7574    // Determine recipe parameters
Note: See TracChangeset for help on using the changeset viewer.