aboutsummaryrefslogtreecommitdiff
path: root/module/vcalendar/primitive.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/vcalendar/primitive.scm')
-rw-r--r--module/vcalendar/primitive.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/module/vcalendar/primitive.scm b/module/vcalendar/primitive.scm
new file mode 100644
index 00000000..b5eb9388
--- /dev/null
+++ b/module/vcalendar/primitive.scm
@@ -0,0 +1,23 @@
+;;; Primitive export of symbols linked from C binary.
+
+(define-module (vcalendar primitive)
+ #:export (%vcomponent-children
+ %vcomponent-push-child!
+ %vcomponent-filter-children!
+
+ %vcomponent-parent
+
+ %vcomponent-make
+ %vcomponent-type
+
+ %vcomponent-set-attribute!
+ %vcomponent-get-attribute
+
+ %vcomponent-attribute-list
+
+ %vcomponent-shallow-copy))
+
+(setenv "LD_LIBRARY_PATH"
+ (string-append (dirname (dirname (dirname (current-filename))))
+ "/lib"))
+(load-extension "libguile-calendar" "init_lib")