** Warning: Cannot open xref database.
1 /*
2 Copyright (C) 2001-2003 Paul Davis
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as published by
6 the Free Software Foundation; either version 2.1 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
18 $Id: pool.c,v 1.4 2003/09/26 17:08:43 joq Exp $
19 */
20
21 #include <stdlib.h>
22 #include <config.h>
23 #include <jack/pool.h>
24
25 void *
26 jack_pool_alloc (size_t bytes)
27 {
28 /* XXX need RT-pool based allocator here */
29
30 return malloc (bytes);
31 }
32
33 void
34 jack_pool_release (void *ptr)
35 {
36 free (ptr);
37 }
38
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.