2001-08-16 19:44:01 -05:00
|
|
|
/* Authors: Eric M. Ludlam <zappo@ultranet.com>
|
|
|
|
* Russ McManus <russell.mcmanus@gs.com>
|
|
|
|
* Dave Peticolas <dave@krondo.com>
|
|
|
|
*
|
|
|
|
* gfec stands for 'guile fancy error catching'.
|
|
|
|
* This code is in the public domain.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GFEC_H
|
|
|
|
#define GFEC_H
|
|
|
|
|
2003-02-22 02:15:53 -06:00
|
|
|
#include <libguile.h>
|
2006-10-15 14:02:05 -05:00
|
|
|
#include <glib.h>
|
2003-02-22 02:15:53 -06:00
|
|
|
#include "guile-mappings.h"
|
2001-08-16 19:44:01 -05:00
|
|
|
|
|
|
|
typedef void (*gfec_error_handler)(const char *error_message);
|
|
|
|
|
|
|
|
SCM gfec_eval_file(const char *file, gfec_error_handler error_handler);
|
|
|
|
SCM gfec_eval_string(const char *str, gfec_error_handler error_handler);
|
|
|
|
SCM gfec_apply(SCM proc, SCM arglist, gfec_error_handler error_handler);
|
2017-08-22 09:33:34 -05:00
|
|
|
gboolean gfec_try_load(const gchar *fn);
|
2001-08-16 19:44:01 -05:00
|
|
|
|
|
|
|
#endif
|