mirror of https://github.com/Gnucash/gnucash
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
587 B
21 lines
587 B
/* 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
|
|
|
|
#include <guile/gh.h>
|
|
|
|
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);
|
|
|
|
#endif
|