summaryrefslogtreecommitdiff
path: root/tests/clib.urp
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-05-02 12:50:52 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-05-02 12:50:52 -0400
commit471d5a79a82a673ca46d3a4e711f54ae1409c0f3 (patch)
tree16510fccf9c64c746597334f24e86fbdc6f98e96 /tests/clib.urp
parentf996ddede8ad8df6a6b475185b5384366f0dd6c9 (diff)
Add 'library' directive
Diffstat (limited to 'tests/clib.urp')
-rw-r--r--tests/clib.urp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/clib.urp b/tests/clib.urp
new file mode 100644
index 00000000..b803a604
--- /dev/null
+++ b/tests/clib.urp
@@ -0,0 +1,9 @@
+ffi test
+include test.h
+script http://localhost/test/test.js
+link test.o
+effectful Test.print
+serverOnly Test.foo
+clientOnly Test.bar
+jsFunc Test.print=print
+jsFunc Test.bar=bar