]> git.sesse.net Git - mlt/blob - src/framework/mlt_pool.h
eadfe20079e8d9588ae6287024dc3892d0dd1e7f
[mlt] / src / framework / mlt_pool.h
1 /**
2  * \file mlt_pool.h
3  * \brief memory pooling functionality
4  *
5  * Copyright (C) 2003-2008 Ushodaya Enterprises Limited
6  * \author Charles Yates <charles.yates@pandora.be>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21  */
22
23 #ifndef _MLT_POOL_H
24 #define _MLT_POOL_H
25
26 extern void mlt_pool_init( );
27 extern void *mlt_pool_alloc( int size );
28 extern void *mlt_pool_realloc( void *ptr, int size );
29 extern void mlt_pool_release( void *release );
30 extern void mlt_pool_purge( );
31 extern void mlt_pool_close( );
32
33 #endif