| 229 | } |
| 230 | |
| 231 | char* cpputest_strndup_location(const char * str, size_t n, const char* file, size_t line) |
| 232 | { |
| 233 | size_t length = test_harness_c_strlen(str); |
| 234 | length = length < n ? length : n; |
| 235 | length = length + 1; |
| 236 | return strdup_alloc(str, length, file, line); |
| 237 | } |
| 238 | |
| 239 | |
| 240 | void* cpputest_calloc_location(size_t num, size_t size, const char* file, size_t line) |
no test coverage detected