IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 30, 2008, 2:46:46 PM (18 years ago)
Author:
eugene
Message:

set vectors to use INT or FLT types as needed; cleanup type information in dbStack (use enum)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20081124/Ohana/src/opihi/dvo/dbStackOps.c

    r15719 r20860  
    22
    33void dbInitStack (dbStack *stack) {
    4   stack[0].type   = 0;
     4  stack[0].type   = DB_STACK_NONE;
    55  stack[0].name   = NULL;
    66}
     
    3434void dbFreeTempEntry (dbStack *stack) {
    3535
    36   if (stack->type != 'T') return;
     36  if (stack->type & DB_STACK_TEMP) return;
    3737
    3838  if (stack[0].name != NULL)  free (stack[0].name);
Note: See TracChangeset for help on using the changeset viewer.