diff options
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/guile/guile.rs | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -5,7 +5,7 @@ edition = "2021" default-run = "skaldpress" [features] -default = ["time", "markdown", "deadlinks", "guile", "readline"] +default = ["time", "markdown", "deadlinks", "readline"] time = ["dep:chrono"] markdown = ["dep:markdown"] deadlinks = ["dep:minreq"] diff --git a/src/guile/guile.rs b/src/guile/guile.rs index a459a64..fc49c70 100644 --- a/src/guile/guile.rs +++ b/src/guile/guile.rs @@ -17,6 +17,7 @@ extern "C" { fn scm_init_guile(); fn scm_c_eval_string(expr: *const c_char) -> *mut c_void; fn scm_from_utf8_string(expr: *const c_char) -> *mut c_void; + fn scm_from_locale_string(scm_obj: *const c_char) -> *mut c_void; fn scm_to_locale_string(scm_obj: *mut c_void) -> *const c_char; fn scm_is_string(scm_obj: *mut c_void) -> c_int; fn scm_object_to_string(scm_obj: *mut c_void, printer: *mut c_void) -> *mut c_void; |