| 109 | return default_value; |
| 110 | } |
| 111 | return value->as_i64(); |
| 112 | } |
| 113 | |
| 114 | inline int optional_i32(const Value & object, const std::string & key, int default_value) { |
| 115 | return static_cast<int>(optional_i64(object, key, default_value)); |
| 116 | } |
| 117 |
no test coverage detected