Changeset 535 for cpp/frams/param/param.cpp
- Timestamp:
- 07/20/16 14:57:12 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/param/param.cpp
r533 r535 710 710 } 711 711 712 bool ParamInterface::isValidTypeDescription(const char* t) 713 { 714 if (t==NULL) return false; 715 if (*t==0) return false; 716 if (strchr("dfsoxp", *t)==NULL) return false; 717 return true; 718 } 712 719 713 720 //////////////////////////////// PARAM //////////////////////////////////// … … 721 728 const char* err=NULL; 722 729 730 if (!isValidTypeDescription(t)) 731 err="invalid type description"; 723 732 if (*t=='p') 724 733 {
Note: See TracChangeset
for help on using the changeset viewer.