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