Changeset 1222 in Sophya
- Timestamp:
- Oct 10, 2000, 2:33:59 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/nomgadapter.cc
r1216 r1222 168 168 if(lstr==0) return type; 169 169 170 // Les 2caracteres precedents donnent: signed, unsigned, *, & ou const.170 // Les caracteres precedents donnent: signed, unsigned, *, & ou const. 171 171 // Mais si on a un Z, alors c'est un complexe (code ...t7complex1Z...) 172 for(int i=0; i< =2; i++) {172 for(int i=0; i<(int)strlen(str); i++) { 173 173 lstr--; 174 174 if (str[lstr]=='U') type = "unsigned " + type; … … 179 179 else if(str[lstr]=='Z') { // Complexe 180 180 type = "complex<" + type + ">"; 181 for(int j=0;j< =1;j++) {181 for(int j=0;j<(int)strlen(str);j++) { 182 182 if (str[j]=='P') type = type + "*"; 183 183 else if(str[j]=='R') type = type + "&"; … … 193 193 194 194 return type; 195 196 195 #else 197 196 return linuxtype;
Note:
See TracChangeset
for help on using the changeset viewer.