LibreOffice Module sal (master) 1
oslmemory.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef INCLUDED_SAL_INC_INTERNAL_OSLMEMORY_H
11#define INCLUDED_SAL_INC_INTERNAL_OSLMEMORY_H
12
13#include <sal/saldllapi.h>
14#include <sal/types.h>
15
16#if defined __cplusplus
17extern "C" {
18#endif
19
20void* osl_aligned_alloc(sal_Size align, sal_Size size);
21
22void osl_aligned_free(void* p);
23
24#if defined __cplusplus
25}
26#endif
27
28#endif
29
30/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void * osl_aligned_alloc(sal_Size align, sal_Size size)
void osl_aligned_free(void *p)