diff options
author | Qrius <[email protected]> | 2024-12-18 20:21:44 +0100 |
---|---|---|
committer | Qrius <[email protected]> | 2024-12-18 20:21:44 +0100 |
commit | 861779e4c6b82f9f4bf09fd7e714ac5106b4455d (patch) | |
tree | 516fc9af893870bded3988e174f081f0d3d0b796 /src/guile/guiledefs.c | |
parent | 1b59010b7da3b86aea6eb929d7efe37bdf735cd6 (diff) | |
download | skaldpress-861779e4c6b82f9f4bf09fd7e714ac5106b4455d.tar.gz skaldpress-861779e4c6b82f9f4bf09fd7e714ac5106b4455d.zip |
Add some bindings and a workaround for resetting
Diffstat (limited to 'src/guile/guiledefs.c')
-rw-r--r-- | src/guile/guiledefs.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/guile/guiledefs.c b/src/guile/guiledefs.c index 9f52c43..a0e9bd2 100644 --- a/src/guile/guiledefs.c +++ b/src/guile/guiledefs.c @@ -1,3 +1,12 @@ #include <libguile.h> struct scm_unused_struct * scm_undefined = SCM_UNDEFINED; +struct scm_unused_struct * scm_unspecified = SCM_UNSPECIFIED; + +int defs_scm_is_eq(SCM x, SCM y) { + return scm_is_eq(x, y); +} + +void defs_scm_define_string(const char* name, const char* value) { + scm_c_define(name, scm_from_utf8_string(value)); +} |