diff options
author | David Robillard <d@drobilla.net> | 2008-03-12 00:11:17 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-03-12 00:11:17 +0000 |
commit | 49ddf1af831493cb34a44c35781f3323916314af (patch) | |
tree | 957277e4b3928cae3c715b01ac102e24a2ee7ea4 /swig/lv2_list.scm | |
parent | b18d8d7790072058940ddbab21afb9c0e3da7f95 (diff) | |
download | lilv-49ddf1af831493cb34a44c35781f3323916314af.tar.gz lilv-49ddf1af831493cb34a44c35781f3323916314af.tar.bz2 lilv-49ddf1af831493cb34a44c35781f3323916314af.zip |
Sorta workingish chicken scheme bindings.
git-svn-id: http://svn.drobilla.net/lad/slv2@1164 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'swig/lv2_list.scm')
-rw-r--r-- | swig/lv2_list.scm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/swig/lv2_list.scm b/swig/lv2_list.scm new file mode 100644 index 0000000..cc23e0d --- /dev/null +++ b/swig/lv2_list.scm @@ -0,0 +1,13 @@ +; Least idiomatic scheme bindings ever. Work in progress... + +(require-extension slv2) + +(define world (slv2-world-new)) +(slv2-world-load-all world) + +(define plugins (slv2-world-get-all-plugins world)) + +(let ((p (slv2-plugins-get-at plugins 0))) + (display (slv2-value-as-string (slv2-plugin-get-uri p))) + (newline)) + |