- Timestamp:
- May 21, 2007, 3:38:16 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/kapa-mods-2007-05/Ohana/src/opihi/dvo/dbCheckStack.c
r13443 r13454 1 # include " opihi.h"1 # include "dvoshell.h" 2 2 3 int dbCheckStack (d voStack *stack, int Nstack, int table, dvoField **inFields, int *Nfields) {3 int dbCheckStack (dbStack *stack, int Nstack, int table, dbField **inFields, int *Nfields) { 4 4 5 int i, Nx, Ny, Nv, size;5 int i, j, status, NFIELDS; 6 6 char *c; 7 d voFields*fields;7 dbField *fields; 8 8 9 9 NFIELDS = *Nfields + 10; 10 REALLOCATE (*inFields, d voField, NFIELDS);10 REALLOCATE (*inFields, dbField, NFIELDS); 11 11 fields = *inFields; 12 12 … … 44 44 45 45 *Nfields ++; 46 CHECK_REALLOCATE (*inFields, d voField, NFIELDS, *Nfields, 10);46 CHECK_REALLOCATE (*inFields, dbField, NFIELDS, *Nfields, 10); 47 47 fields = *inFields; 48 48 }
Note:
See TracChangeset
for help on using the changeset viewer.
