diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-09-24 15:23:10 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-09-24 15:23:10 +0300 |
commit | f59aa22f237d6fb0eb928908f8874c8468afa077 (patch) | |
tree | 98522114c0dc9e0f04d7b957a14de48286fcdf5c /lib | |
parent | 10f9a62f7923e4cf92e2c47748515bc14bef0481 (diff) | |
download | anubis-f59aa22f237d6fb0eb928908f8874c8468afa077.tar.gz anubis-f59aa22f237d6fb0eb928908f8874c8468afa077.tar.bz2 |
Improve Guile support.
* src/guile.c: Rewrite using "inline" approach.
(anubis_boot): Removed.
(guile_safe_exec): New function.
(init_guile): New function.
(guile_load_path_append, guile_load_program)
(guile_process_proc): Rewrite using guile_safe_exec.
(inner_catch_body): Call guile_ports_open before,
and guile_ports_close after execution of the function.
* src/headers.h (anubis_boot): Remove.
(init_guile): New proto.
* src/main.c (anubis_core): Remove.
(main) [WITH_GUILE]: Call init_guile.
Inline anubis() function.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/.gitignore | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/.gitignore b/lib/.gitignore index 628abc5..d10262c 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -32,2 +32,4 @@ stdbool.h stdbool.in.h +stddef.h +stddef.in.h stdint.h |