| tomlxs.c | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 3 | 6 | 50.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | n/a | ||
| pod | n/a | ||
| total | 3 | 6 | 50.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | #include |
||||||
| 2 | |||||||
| 3 | #include "toml.h" | ||||||
| 4 | |||||||
| 5 | #if !TOMLXS_SV_CAN_USE_EXTERNAL_STRING | ||||||
| 6 | 0 | void tomlxs_free_string(char *ptr) { | |||||
| 7 | 0 | free(ptr); | |||||
| 8 | 0 | } | |||||
| 9 | #endif | ||||||
| 10 | |||||||
| 11 | 4 | void tomlxs_free_timestamp(toml_timestamp_t *ptr) { | |||||
| 12 | 4 | free(ptr); | |||||
| 13 | 4 | } |