mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
* error.c, error.h: Made error keys globally accessible.
Applications might want to test for these or use them in a direct call to scm_error.
This commit is contained in:
parent
147c18a0e4
commit
a7f54aed6a
2 changed files with 15 additions and 7 deletions
|
@ -51,6 +51,14 @@
|
|||
|
||||
extern int scm_ints_disabled;
|
||||
|
||||
extern SCM scm_system_error_key;
|
||||
extern SCM scm_num_overflow_key;
|
||||
extern SCM scm_out_of_range_key;
|
||||
extern SCM scm_args_number_key;
|
||||
extern SCM scm_arg_type_key;
|
||||
extern SCM scm_memory_alloc_key;
|
||||
extern SCM scm_misc_error_key;
|
||||
|
||||
|
||||
|
||||
extern void scm_error (SCM key, const char *subr, const char *message,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue