Load a null count from a gdb.Value of an integer (either atomic or not).
(val)
| 224 | |
| 225 | |
| 226 | def load_null_count(val): |
| 227 | """ |
| 228 | Load a null count from a gdb.Value of an integer (either atomic or not). |
| 229 | """ |
| 230 | if get_basic_type(val.type).code != gdb.TYPE_CODE_INT: |
| 231 | val = load_atomic(val) |
| 232 | return val |
| 233 | |
| 234 | |
| 235 | def format_null_count(val): |
no test coverage detected