| 264 | } |
| 265 | |
| 266 | inline const char * const *EnumNamesPrecision() { |
| 267 | static const char * const names[4] = { |
| 268 | "HALF", |
| 269 | "SINGLE", |
| 270 | "DOUBLE", |
| 271 | nullptr |
| 272 | }; |
| 273 | return names; |
| 274 | } |
| 275 | |
| 276 | inline const char *EnumNamePrecision(Precision e) { |
| 277 | if (::flatbuffers::IsOutRange(e, Precision_HALF, Precision_DOUBLE)) return ""; |