1 /* MDB Tools - A library for reading MS Access database files
2  * Copyright (C) 2000 Brian Bruns
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library 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 GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
17  */
18 
19 #include "mdbtools.h"
20 
MDB_DEPRECATED(void,mdb_init ())21 MDB_DEPRECATED(void,
22 mdb_init())
23 {
24 	fprintf(stderr, "mdb_init() is DEPRECATED and does nothing. Stop calling it.\n");
25 }
26 
MDB_DEPRECATED(void,mdb_exit ())27 MDB_DEPRECATED(void,
28 mdb_exit())
29 {
30 	fprintf(stderr, "mdb_exit() is DEPRECATED and does nothing. Stop calling it.\n");
31 }
32 
33 /* glib - to allow static linking of glib in mdbtools */
mdb_g_free(gpointer mem)34 void	 mdb_g_free	          (gpointer	 mem) { g_free(mem); }
mdb_g_malloc(gsize n_bytes)35 gpointer mdb_g_malloc         (gsize	 n_bytes) { return g_malloc(n_bytes); }
mdb_g_malloc0(gsize n_bytes)36 gpointer mdb_g_malloc0        (gsize	 n_bytes) { return g_malloc0(n_bytes); }
37