| 1206 | #pragma clang diagnostic push |
| 1207 | #pragma clang diagnostic ignored "-Wexit-time-destructors" |
| 1208 | static const GameNular* GetDefaultNular(int* outSize = nullptr) |
| 1209 | { |
| 1210 | static const GameNular DefaultNular[] = {GameNular(GameVoid, "nil", VoidNil), GameNular(GameBool, "true", BoolTrue), |
| 1211 | GameNular(GameBool, "false", BoolFalse), |
| 1212 | GameNular(GameScalar, "pi", ScalarPi)}; |
| 1213 | if (outSize) |
| 1214 | { |
| 1215 | *outSize = lenof(DefaultNular); |
| 1216 | } |
| 1217 | return DefaultNular; |
| 1218 | } |
| 1219 | #pragma clang diagnostic pop |
| 1220 | |
| 1221 | // Meyers singleton accessors for constant strings - no global constructors |