Files
horror/thirdparty/ode-0.16.5/ou/include/ou/malloc.h
2024-06-10 12:48:14 +03:00

49 lines
2.3 KiB
C

/*************************************************************************
* *
* ODER's Utilities Library. Copyright (C) 2008-2024 Oleh Derevenko. *
* All rights reserved. e-mail: odar@eleks.com (change all "a" to "e") *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of EITHER: *
* (1) The GNU Lesser General Public License as published by the Free *
* Software Foundation; either version 3 of the License, or (at *
* your option) any later version. The text of the GNU Lesser *
* General Public License is included with this library in the *
* file LICENSE-LESSER.TXT. Since LGPL is the extension of GPL *
* the text of GNU General Public License is also provided for *
* your information in file LICENSE.TXT. *
* (2) The BSD-style license that is included with this library in *
* the file LICENSE-BSD.TXT. *
* (3) The zlib/libpng license that is included with this library in *
* the file LICENSE-ZLIB.TXT *
* *
* This library is distributed WITHOUT ANY WARRANTY, including implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the files LICENSE.TXT and LICENSE-LESSER.TXT or LICENSE-BSD.TXT *
* or LICENSE-ZLIB.TXT for more details. *
* *
*************************************************************************/
#ifndef __OU_MALLOC_H_INCLUDED
#define __OU_MALLOC_H_INCLUDED
#include <ou/namespace.h>
#include <ou/platform.h>
#include <stddef.h>
BEGIN_NAMESPACE_OU();
void *_OU_CONVENTION_API AllocateMemoryBlock(size_t nBlockSize);
void *_OU_CONVENTION_API ReallocateMemoryBlock(void *pv_ExistingBlock, size_t nNewBlockSize);
void _OU_CONVENTION_API FreeMemoryBlock(void *pv_ExistingBlock);
END_NAMESPACE_OU();
#endif // #ifndef __OU_MALLOC_H_INCLUDED