| 239 | #ifdef _WIN32 |
| 240 | |
| 241 | int cbm_aligned_alloc(void **ptr, size_t alignment, size_t size) { |
| 242 | *ptr = _aligned_malloc(size, alignment); |
| 243 | return *ptr ? 0 : -1; |
| 244 | } |
| 245 | |
| 246 | void cbm_aligned_free(void *ptr) { |
| 247 | _aligned_free(ptr); |
no outgoing calls
no test coverage detected