- Timestamp:
- Nov 25, 2008, 4:51:39 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20081124/Ohana/src/opihi/lib.shell/check_stack.c
r6250 r20839 12 12 13 13 /** if this is a number, put it on the list of scalers and move on **/ 14 stack[i].Float = strtod (stack[i].name, &c); 14 // XXX need to handle IntValue vs FltValue 15 stack[i].FltValue = strtod (stack[i].name, &c); 15 16 if (c == stack[i].name + strlen (stack[i].name)) { 16 stack[i].ptr = &(stack[i].Float);17 17 stack[i].type = 'S'; 18 18 continue; … … 22 22 if (IsBuffer (stack[i].name)) { 23 23 stack[i].buffer = SelectBuffer (stack[i].name, OLDBUFFER, TRUE); 24 stack[i].ptr = (float *) stack[i].buffer[0].matrix.buffer;25 24 stack[i].type = 'M'; 26 25 if (Nx == -1) { … … 44 43 if (IsVector (stack[i].name)) { 45 44 stack[i].vector = SelectVector (stack[i].name, OLDVECTOR, FALSE); 46 stack[i].ptr = (float *) stack[i].vector[0].elements;47 45 stack[i].type = 'V'; 48 46
Note:
See TracChangeset
for help on using the changeset viewer.
