aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent/primitive.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/vcomponent/primitive.scm')
-rw-r--r--module/vcomponent/primitive.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/vcomponent/primitive.scm b/module/vcomponent/primitive.scm
index 06b6fd83..53d73652 100644
--- a/module/vcomponent/primitive.scm
+++ b/module/vcomponent/primitive.scm
@@ -20,3 +20,6 @@
(string-append (dirname (dirname (dirname (current-filename))))
"/lib"))
(load-extension "libguile-calendar" "init_lib")
+
+(define (%vcomponent-attribute-list comp)
+ (map car (hash-map->list cons (%vcomponent-get-hash-table comp))))