strusBase  0.17
malloc.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017 Patrick P. Frey
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
9 #ifndef _STRUS_MALLOC_HPP_INCLUDED
10 #define _STRUS_MALLOC_HPP_INCLUDED
11 #include <string>
12 
13 namespace strus {
14 
15 void aligned_free( void *ptr);
16 void* aligned_malloc( std::size_t size, std::size_t alignment);
17 
18 }//namespace
19 #endif
20 
void aligned_free(void *ptr)
void * aligned_malloc(std::size_t size, std::size_t alignment)