00001 /**** 00002 ***** Copyright 2010 Intel Corporation All Rights Reserved. 00003 ***** 00004 ***** The source code, information and material contained herein are owned by Intel Corporation or its suppliers ***** 00005 ***** or licensors, and title to such Material remains with Intel Corporation or its suppliers or licensors. ***** 00006 ***** The Material contains proprietary information of Intel or its suppliers and licensors. The Material is ***** 00007 ***** protected by worldwide copyright laws and treaty provisions. No part of the Material may be used, copied, ***** 00008 ***** reproduced, modified, published, uploaded, posted, transmitted, distributed or disclosed in any way without ***** 00009 ***** Intel's prior express written permission. 00010 ***** 00011 ***** No license under any patent, copyright or other intellectual property rights in the material is granted to ***** 00012 ***** or conferred upon you, either expressly, by implication, inducement, estoppel or otherwise. Any license ***** 00013 ***** under such intellectual property rights must be express and approved by Intel in writing. 00014 ****/ 00015 00016 /**** Copyright Ends ****/ 00017 00018 #ifndef ARBB_CPP_ALIGNMENT_HPP 00019 #define ARBB_CPP_ALIGNMENT_HPP 00020 00021 #include <cstddef> 00022 #include "namespace.hpp" 00023 00024 #ifdef ARBB_CPP_DOXYGEN_ONLY 00025 00028 00043 # define ARBB_CPP_ALIGN(decl) "platform-specific" 00044 00054 # define ARBB_CPP_ALIGN_ALLOCA(bytes) "platform-specific" 00055 00057 00058 #endif // ARBB_CPP_DOXYGEN_ONLY 00059 00060 namespace ARBB_CPP_NS { 00061 00064 00072 void* aligned_malloc(std::size_t length); 00073 00077 void aligned_free(void* data); 00078 00080 00081 } // namespace ARBB_CPP_NS 00082 00083 #endif // ARBB_CPP_ALIGNMENT_HPP
Copyright © 2010, Intel Corporation. All rights reserved.