GnuCash  5.6-150-g038405b370+
glib-guile.h
1 /********************************************************************\
2  * glib-guile.h -- glib helper functions for guile *
3  * Copyright (C) 2000 Linas Vepstas *
4  * Copyright (C) 2006 Chris Shoemaker <c.shoemaker@cox.net> *
5  * *
6  * This program is free software; you can redistribute it and/or *
7  * modify it under the terms of the GNU General Public License as *
8  * published by the Free Software Foundation; either version 2 of *
9  * the License, or (at your option) any later version. *
10  * *
11  * This program is distributed in the hope that it will be useful, *
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14  * GNU General Public License for more details. *
15  * *
16  * You should have received a copy of the GNU General Public License*
17  * along with this program; if not, contact: *
18  * *
19  * Free Software Foundation Voice: +1-617-542-5942 *
20  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
21  * Boston, MA 02110-1301, USA gnu@gnu.org *
22  * *
23 \********************************************************************/
24 
25 #ifndef GLIB_GUILE_H
26 #define GLIB_GUILE_H
27 
28 #include <glib.h>
29 #include <libguile.h>
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 SCM gnc_glist_to_scm_list(GList *glist, const gchar *wct);
36 GList* gnc_scm_list_to_glist(SCM wcp_list);
37 
38 SCM gnc_glist_string_to_scm(GList * list);
39 GList * gnc_scm_to_glist_string(SCM list);
40 int gnc_glist_string_p(SCM list);
41 
42 GSList * gnc_scm_to_gslist_string(SCM list);
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif