IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 21, 2007, 3:38:16 PM (19 years ago)
Author:
eugene
Message:

boolean db extractions now working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/kapa-mods-2007-05/Ohana/src/opihi/dvo/dbRPN.c

    r13443 r13454  
    22# define DUMPSTACK 0
    33
    4 dvoStack *dbRPN (int argc, char **argv, int *nstack) {
     4dbStack *dbRPN (int argc, char **argv, int *nstack) {
    55 
    66  int type, Nx, Ny;
    77  int i, j, Nstack, Nop_stack, NSTACK;
    8   dvoStack *stack, *op_stack;
     8  dbStack *stack, *op_stack;
    99
    1010  /* max total stack size is argc, though should be less, this is safe */
    1111  NSTACK = argc + 5;
    12   ALLOCATE (stack, dvoStack, NSTACK);
    13   ALLOCATE (op_stack, dvoStack, NSTACK);
     12  ALLOCATE (stack, dbStack, NSTACK);
     13  ALLOCATE (op_stack, dbStack, NSTACK);
    1414  for (i = 0; i < NSTACK; i++) {
    1515    dbInitStack (&stack[i]);
     
    173173  free (op_stack);
    174174  dbFreeStack (&stack[Nstack], NSTACK - Nstack);
    175   REALLOCATE (stack, dvoStack, MAX (Nstack, 1));
     175  REALLOCATE (stack, dbStack, MAX (Nstack, 1));
    176176  *nstack = Nstack;
    177177
Note: See TracChangeset for help on using the changeset viewer.