aboutsummaryrefslogtreecommitdiff
path: root/vcalendar
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-02-26 10:33:02 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-26 10:33:02 +0100
commit8c5b4d4f4a0e07525efb9eb04ec99068946cdef4 (patch)
tree53830b1ea10e4dd99e9b54c16c539aa680052b60 /vcalendar
parentAdd simple sorted agenda to code.scm. (diff)
downloadcalp-8c5b4d4f4a0e07525efb9eb04ec99068946cdef4.tar.gz
calp-8c5b4d4f4a0e07525efb9eb04ec99068946cdef4.tar.xz
Move load-extension to (vcalendar primitive).
Diffstat (limited to 'vcalendar')
-rw-r--r--vcalendar/primitive.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/vcalendar/primitive.scm b/vcalendar/primitive.scm
new file mode 100644
index 00000000..aa182040
--- /dev/null
+++ b/vcalendar/primitive.scm
@@ -0,0 +1,16 @@
+;;; Primitive export of symbols linked from C binary.
+
+(define-module (vcalendar primitive)
+ #:export (%vcomponent-children
+ %vcomponent-push-child!
+
+ %vcomponent-parent
+
+ %vcomponent-make
+ %vcomponent-type
+
+ %vcomponent-set-attribute!
+ %vcomponent-get-attribute))
+
+(setenv "LD_LIBRARY_PATH" (dirname (dirname (current-filename))))
+(load-extension "libguile-calendar" "init_lib")