| 145 | #ifdef _WIN32 |
| 146 | |
| 147 | int cbm_aligned_alloc(void **ptr, size_t alignment, size_t size) { |
| 148 | *ptr = _aligned_malloc(size, alignment); |
| 149 | return *ptr ? 0 : -1; |
| 150 | } |
| 151 | |
| 152 | void cbm_aligned_free(void *ptr) { |
| 153 | _aligned_free(ptr); |
no outgoing calls
no test coverage detected