Changeset 345 for library/mex
- Timestamp:
- 05/20/09 23:15:05 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/mex/mexparse.h
r331 r345 27 27 child = val(0,0); 28 28 } else { 29 Setting &child = (key=="") ? setting.add(Setting::TypeGroup) 30 : setting.add(key, Setting::TypeGroup); 31 Setting &elements = child.add("elements", Setting::TypeArray); 32 Setting &cols = child.add("cols", Setting::TypeInt); 29 Setting &child = (key=="") ? setting.add(Setting::TypeList) 30 : setting.add(key, Setting::TypeList); 31 Setting &cols = child.add( Setting::TypeInt ); 32 Setting &rows = child.add( Setting::TypeInt ); 33 Setting &elements = child.add( Setting::TypeArray ); 33 34 cols = val.cols(); 35 rows = val.rows(); 34 36 for (int i=0; i<val.rows(); i++) { 35 37 for (int j=0; j<val.cols(); j++) {