Ticket #4315: 4315.patch
File 4315.patch, 851 bytes (added by , 12 years ago) |
---|
-
thread_heap_alloc.hpp
56 56 { 57 57 namespace detail 58 58 { 59 inline BOOST_THREAD_DECLvoid* allocate_raw_heap_memory(unsigned size)59 inline void* allocate_raw_heap_memory(unsigned size) 60 60 { 61 61 void* const heap_memory=detail::win32::HeapAlloc(detail::win32::GetProcessHeap(),0,size); 62 62 if(!heap_memory) … … 66 66 return heap_memory; 67 67 } 68 68 69 inline BOOST_THREAD_DECLvoid free_raw_heap_memory(void* heap_memory)69 inline void free_raw_heap_memory(void* heap_memory) 70 70 { 71 71 BOOST_VERIFY(detail::win32::HeapFree(detail::win32::GetProcessHeap(),0,heap_memory)!=0); 72 72 }