| 186 | } |
| 187 | |
| 188 | void printClassMember(const bool isDeprec, const char * aType, const char * aName, const char * aDocs, S32 aElementCount) |
| 189 | { |
| 190 | Con::printf(" /*!"); |
| 191 | |
| 192 | if(aDocs) |
| 193 | { |
| 194 | Con::printf(" %s", aDocs); |
| 195 | Con::printf(" "); |
| 196 | } |
| 197 | |
| 198 | if(isDeprec) |
| 199 | Con::printf(" @deprecated This member is deprecated, which means that its value is always undefined."); |
| 200 | |
| 201 | Con::printf(" */"); |
| 202 | |
| 203 | if (aElementCount == 1) |
| 204 | { |
| 205 | Con::printf(" %s %s;", isDeprec ? "deprecated" : aType, aName); |
| 206 | } |
| 207 | else |
| 208 | { |
| 209 | Con::printf(" %s %s[%i];", isDeprec ? "deprecated" : aType, aName, aElementCount); |
| 210 | } |
| 211 | } |
| 212 | |
| 213 | void printGroupEnd() |
| 214 | { |